It is extremely important for a company to know its financial health and for that profit and loss statement is…