Through large intestine waste is passed into the rectum.
Explanation:
In the digestive system the digested food material present in the stomach travels gradually from the duodenum to the small intestine where it splits into small molecules.
Whereas, absorption of those food material takes place through the small finger like structures present in the small intestine known as villi (singular-villus). After small intestine the food enters into large intestine where it reaches to the rectum to be excreted as waste.