A roof can stop rain from getting inside a house.