a roof is used for keeping the rain out of buildings.