Roof underlayment is a water-resistant material barrier installed directly on your roof deck. It is installed under all other roofing materials. It serves as an added layer of protection against weather elements.