The underlayment is an essential part of any roofing system because it provides an extra layer of protection between the deck and the roof shingles. It is also the last line of defense before roof leaks or moisture problems enter your home.