Capsule endoscopy is a minimally invasive diagnostic tool used primarily to visualize the small intestine. It involves swallowing a small, pill-sized camera that captures thousands of images as it travels through the gastrointestinal tract. These images are transmitted to a device worn by the patient, allowing physicians to examine parts of the digestive system that are difficult to reach with traditional endoscopy.