A bronchoscopy is a procedure that uses a bronchoscope to examine the inside of the trachea. The trachea is the air passageway that brings air to and from the lungs. It is also known as the windpipe.