A roof is the top covering of a building or structure, designed to protect against weather elements such as rain, snow, and sunlight. It is a key architectural feature that provides shelter and structural integrity.