Capsule endoscopy is a non-invasive diagnostic procedure that involves swallowing a small, pill-sized camera that captures images of the digestive tract, primarily focusing on the small intestine, an area that is difficult to reach with traditional endoscopy.