The underlayment is a component applied between the sheathing and the shingles. It serves as a moisture barrier, providing an extra layer of protection from the elements. Honestly speaking, you can go without it, and nail asphalt shingles directly onto decking boards. However, forgoing the use of an underlayment isn’t wise. Without a high-quality, properly installed underlayment, your roof could completely fail after just a few years.