Pill camera technology allows a miniature camera to be housed in a capsule and passed through the digestive tract to provide images of the small intestine. The capsule captures images as it is propelled through the tract and transmits them to an external recorder. This provides a painless alternative to endoscopy for diagnosing conditions like cancer by visualizing areas that standard techniques cannot reach. The capsule offers advantages over endoscopy like being non-invasive and allowing patients to avoid sedation and return to normal activities after swallowing.