A microelectronic capsule, also known as a "magic pill", is a multichannel sensor device that can be swallowed to remotely monitor various biomarkers in the gastrointestinal tract. It contains sensors to measure temperature, pH, dissolved oxygen, and conductivity. The data is transmitted via radio waves to external receivers. The capsule aims to non-invasively detect diseases and abnormalities in the GI tract. It has advantages of being small, inexpensive, and providing long-term monitoring without endoscopy. However, it also has limitations such as not being able to perform imaging or treatments.