The primary function of the esophagus is to transport food entering the mouth through the throat and into the stomach. This function begins at the very beginning of the esophagus, following some taste buds located on the organ, at the upper esophageal sphincter (UES).