The liver has two lobes, separated by veins, and is divided into sections supplied by individual blood vessels. Blood flows through hepatic arteries and portal veins into sinusoids, where waste is filtered by Kupffer cells in the space of Disse before draining into hepatic veins. The liver performs many functions including synthesizing proteins, metabolizing carbohydrates and lipids, and detoxifying hormones and drugs. Liver function can be assessed through blood tests of enzymes and proteins.