High-fat and sugary foods are harmful for the liver as they contribute to the accumulation of fat in liver cells, which leads to conditions like non-alcoholic fatty liver disease (NAFLD).
For instance, high-fat foods can cause inflammation and increase liver fat, while too much sugar, especially fructose, can be converted into fat in the liver. Over time, all this can lead to insulin resistance and further liver damage leading to different liver diseases, including fibrosis, and cirrhosis.