Bronchoscopy is performed for several reasons including diagnosing lung diseases, infections, tumors, or blockages. It is also used to collect tissue samples for biopsy, remove foreign objects, and deliver treatments directly into the lungs. Common indications include persistent cough, abnormal chest X-rays, or unexplained respiratory symptoms.