Endobronchial ultrasound is used to diagnose underlying causes of coughing of blood, shortness of breath, persistent chronic cough, take a lung tissue sample, and diagnose lung cancer & tumors, infections, airway blockages & narrowing, etc.