It is a painless imaging technique that uses a strong magnetic field, radio waves and a computer to create high-resolution images of the esophagus – the muscular tube connecting the throat (pharynx) with the stomach. Your doctor may recommend this test to look at various disorders of the esophagus.