The roof is the uppermost portion of the building which protects the building from rain, sun, and wind. There are…