Another way to say "a roof is part of a house" is "A house without a roof would not provide shelter from rain."