Another way to say "a terrace railing is used for safety" is "For safety a terrace railing is used."