Specific heat is the heat that must be supplied to the unit of mass of a given substance to raise its temperature by…