What is the difference between 安心 and 安全?


I know both are related to safety or peace of mind but is there a certain
context in which one is better to use than the other?




They have quite a different meaning.

Think of 安心 as "relief" or "peace of mind" while 安全 is more "safety" or
"security".

Example of use of 安心:

> 彼が無事だと聞いて私は、安心した。

_I was relieved to hear that he was safe._

Example of use of 安全:

> お客様の安全を守るため、シートベルトをお締め下さい。

_For your safety, please fasten your seat belt._

This is the typical thing you hear when you hop on a taxi for example (this is
not a literal translation, but the point here is to stress the meaning of 安全).

