a roof is used for protecting a building.