A railing is a frame assembly adjacent to human circulation spaces and at some space boundaries where it is used in lieu of walls or to compliment walls. Designed to aid humans, either as an optional physical support, or to prevent injury by falling.
A guardrail is a type of railing designed to guard human occupants from falling off a stair, ramp or landing where there is a vertical drop at the edge of such structures.