Sweat glands serve as a means of eliminating metabolic wastes such as water, salts, and urea from the body. The lungs function to maintain appropriate levels of carbon dioxide and oxygen in the blood by excreting excess carbon dioxide and absorbing oxygen. The large intestine collects and transports solid waste for excretion while also reabsorbing water from the waste.