What is a foil under the roof

Sheets under the roof are used to protect the roof against adverse weather conditions such as rain or snow. Foil is such a good helper of builders in building or repairing roofs. It is usually placed above the roof truss. Old bags, bricks or laths are used to fix it.