Safety usually refers specifically to the absence of risks to life and health posed by a system. In a broader sense, mental health as well as the integrity of the environment and other values are also counted as safety.
ISO/IEC DIS 22989 freedom from unacceptable risk
[SOURCE: ISO 4971:2007, 2.24]
ISO/IEC TR 29119-11:2020 expectation that a system does not, under defined conditions, lead to a state in which human life, health, property, or the environment is endangered
[SOURCE: ISO/IEC/IEEE 12207:2017, 3.1.48]
ISTQB - CTAI Syllabus The expectation that a system does not, under defined conditions, lead to a state in which human life, health, property, or the environment is endangered (ISO/IEC/IEEE 12207)