Coughing up blood from the lungs or airways, often due to underlying medical conditions such as infections, trauma, or respiratory diseases.