A roof is the top covering of a building, including all materials and constructions necessary to support it on the walls of the building or on uprights, providing protection against rain, snow, sunlight, extremes of temperature, and wind. A roof is part of the building envelope.
Terminology of some roof parts
The roof of a library in Sweden
Roofs in the central of Ystad 2022.
Slate, Jersey
A building or edifice is an enclosed structure with a roof and walls, usually standing permanently in one place, such as a house or factory. Buildings come in a variety of sizes, shapes, and functions, and have been adapted throughout history for numerous factors, from building materials available, to weather conditions, land prices, ground conditions, specific uses, prestige, and aesthetic reasons. To better understand the concept, see Nonbuilding structure for contrast.
Skyscrapers under construction in Kalasatama, Helsinki, Finland (2021)
A timber-framed house in Marburg, Germany
Image: Ishtar gate in Pergamon museum in Berlin
Image: Philae temple at night