A piece of sloped structural material that extends from the top of the roof to the ceiling joists. Rafters are used to support the sheathing (the wooden boards that are made of plywood or OSB which are used as a flat surface to support shingles).
(See image at joist).