The liver is responsible for breaking down and detoxifying harmful agents and activating other substances essential for metabolism. It also stores nutrients and is important in immunity.