Another way to say "wood is used for building houses" is "You can use wood to build a house."