First, there's a ridge board, which is a horizontal wood element at the peak of the roof, establishing the apex of the roof's triangle. Next are the rafters, which are fastened to the ridge board and slope downward to the exterior walls. The rafters do the heavy lifting for a roof structure.