In the roof or walls of a building Purlins are lightweight horizontal beams used in the structure of a building, usually in the roof, sometimes in the walls. They are installed across the members which, in a roof, are the rafters or trusses.