A gastroscope examines the stomach lining.