The seven main components of a roof are:
Shingles
Sheathing
Trim
Rafters
Underlayment
Flashing
Drainage