Spindles support the handrail and act as a barrier to prevent falls, ensuring the safety of stair users.