What is a Endoscopy?

Endoscopy is the visualization of gut through an endoscope that is a long tube with camera at its one end. Endoscope is inserted either through mouth to visualize upper gut or through anus to visualize lower gut.