Some degree of sedation will be given before starting the procedure. So moderate sedation will give you some degree of sleep, and you will not feel discomfort when the endoscope is inserted through the mouth and into the stomach.