The colon's main function is to absorb water, nutrients, salt and other minerals. What is left is turned into waste, also known as stools, or poop. Your rectum stores waste until it is eliminated from the body.