The oesophagus is one of the organs within the gastrointestinal system. It is a muscular tube structure, passing from the pharynx (back of the throat) to the stomach. Its main function is the transport of food through the action of swallowing.