The roof is one of the most important components of a building, as it protects the structure and its inhabitants.…