In any chemical reaction, the total mass of the products is always equal to that…