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 handrail is a type of railing designed to support loads applied by human occupants (at hand height). Generally located adjacent to ramps and stairs. Generally floor or wall mounted.