Liver disease is a condition that occurs when the liver is damaged or not functioning properly. The liver is a…