How do the digestive and excretory systems work together to help the body get what it needs and get rid of what it doesn't need?​