Bronchoscopy is an endoscopic technique of visualizing the inside of the airways for diagnostic and therapeutic purposes. An instrument (bronchoscope) is inserted into the airways, usually through the nose or mouth, or occasionally through a tracheostomy. This allows the practitioner to examine the patient's airways for abnormalities such as foreign bodies, bleeding, tumors, or inflammation. Specimens may be taken from inside the lungs. The construction of bronchoscopes ranges from rigid metal tubes with attached lighting devices to flexible optical fiber instruments with realtime video equipment.