Swallowing, known scientifically as deglutition, is the process in the human or animal body that makes something pass from the mouth , to the pharynx , and into the esophagus , while shutting the epiglottis .