The excretory system is the one that is in charge of the function of excretion, this is, the process of discharging what the body doesn't need produced by <em>homeostasis</em>. The liver, the lungs, the kidney and the sweat glands are some parts of the body involved in this.