Safety is the state of being "safe", the condition of being protected from harm or other danger. Safety can also refer to the control of recognized hazards in order to achieve an acceptable level of risk.
Warning signs, such as this one, can improve safety awareness.
"After whiskey driving risky" safety road sign in Ladakh, India
Platform screen doors are primarily used for passenger safety to prevent users from falling down on the tracks
A mug reminds the drinker to be careful.
In simple terms, risk is the possibility of something bad happening. Risk involves uncertainty about the effects/implications of an activity with respect to something that humans value, often focusing on negative, undesirable consequences. Many different definitions have been proposed. The international standard definition of risk for common understanding in different applications is "effect of uncertainty on objectives".
Firefighters are exposed to risks of fire and building collapse during their work.
Harbor sign warning visitors that use of the walkway is "at your own risk"