Most endoscopes are hollow tubes with a light on the end and a small video camera. Patients are sedated for an endoscopy procedure. This allows your doctor to see your organs and make an accurate diagnosis or treatment.