Gastrointestinal cancers that affect the liver primarily include hepatocellular carcinoma, which is the most common form, and cholangiocarcinoma, a cancer of the bile ducts. These cancers often arise in the context of chronic liver diseases, such as hepatitis B, hepatitis C, or cirrhosis, and can be particularly aggressive. The liver, being a crucial organ for metabolism and detoxification, plays a vital role in overall health, and malignancies in this area can significantly impact life expectancy and quality of life.