Primary liver cancer is cancer that forms in the tissues of the liver. The liver, one of the largest organs in the human body, is located on the right side of the abdomen and is protected by the rib cage. The liver has three important functions: it filters and removes waste and toxins from the blood; it makes bile which breaks down fats in the digestive process; and it stores energy in the form of glycogen, a type of sugar.