A roofing system consists of several essential components, including the roof deck, underlayment, and outer roofing material such as shingles, metal, or tile. The roof deck serves as the foundation, the underlayment provides a waterproof barrier, and the outer material shields the home from the elements. Many roofing systems also feature ridge vents and soffits to enhance ventilation and airflow.