Joists are parallel horizontal beams that span an open space, connecting opposing walls in a structure and supporting both the ceiling and the floor. A rafter is a structural component that runs diagonally from the wall plate to the roof structure’s peak.