The study of how the digestive system works, including the processes of digestion, absorption, and elimination.