Liver cancer is a serious disease that affects the liver, an essential organ responsible for…