Endoscopy involves examining the upper gastrointestinal tract (esophagus, stomach, and duodenum), while enteroscopy focuses on the small intestine, which is not easily accessible by standard endoscopy.