Safety refers to freedom from risk of physical injury or damage to health or property. It is an aspect of dependability, which is the ability of a system to operate as intended. Security refers to preventing illegal or unwanted access or interference with systems. It involves availability, confidentiality, and integrity. Dependability and security are related concepts, with dependability concerning proper operation and security concerning preventing improper access or changes. Functional safety specifically refers to a system operating correctly in response to inputs to manage errors, failures, and environmental changes.