The liver is the largest gland in the body, located in the right upper quadrant of the abdomen. It has two surfaces - the diaphragmatic surface fits beneath the diaphragm, while the irregular visceral surface contacts other abdominal organs. Ligaments such as the falciform and coronary ligaments attach the liver within the abdominal cavity. The liver receives blood from the hepatic artery and portal vein, and has associated biliary ducts and lymph drainage. It performs many vital functions including bile production, glycogen storage, and clotting factor synthesis.