The IEC 61508 standard for functional safety of electrical /electronic and programmable electronic systems, explains the concepts of safety integrity levels, the safety lifecycle, and many detail requirements needed to ensure functional safety. The standard is comprehensively explained with a focus on topics relevant to those developing software that must be compliant with this standard.