The esophagus is lined with a non-keratinized stratified squamous epithelium, providing protection against mechanical abrasion. The presence of mucous glands in the submucosa helps in lubricating the passage of food. The muscularis externa transitions from skeletal muscle in the upper third to smooth muscle in the lower third, facilitating the movement of food through peristalsis.