A roof is a structure forming the upper covering of a building or other shelter. Roofs may have openings or windows within them to allow light into the buildings, as well as providing, access, ventilation, views, and so on….
It provides protection against rain, snow, sunlight, extremes of temperature, and wind. A roof is part of the building envelope.