There are different types of endoscopy procedures depending on the area of the body being examined. Endoscopy involves inserting a thin, flexible tube with a camera into the body in order to diagnose and treat medical conditions. It allows doctors to visualize internal organs and tissues. Some common types of endoscopy include upper endoscopy, colonoscopy, and bronchoscopy. Endoscopy is commonly used for both diagnostic and therapeutic purposes and has advantages over traditional surgery as it is minimally invasive.