A nasogastric tube is a flexible tube that is inserted through the nose, down the esophagus, and into the stomach. It's commonly used in medical settings for a variety of purposes, including administering medication, providing nutrition, and removing stomach contents.