The throat is a cavity or tube that connects the mouth to the esophagus and windpipe. The esophagus brings food to the stomach. The windpipe brings air to the lungs. A sore throat is when the throat is painful, scratchy or irritated. A throat can become sore for many reasons.