Liver is one of the most important organs of the human body and performs a number of functions. These include…