Hemoptysis refers to the coughing up of blood or blood-streaked mucus from the respiratory tract. It can range from small amounts of blood to life-threatening volumes. While there are various causes, including infections, pulmonary embolism, and trauma, it is often associated with lung cancer.