The liver removes ammonia and other wastes, and various poisons that enter the body through the digestive system. The liver converts the wastes and poisons into water-soluble substances, which are carried by the blood to the kidneys. The kidneys filter out these and other water-soluble wastes and expel them from the body in urine.