question about SF 85P

What is Public Safety in this line: “21.3 In the last seven (7) years, have you illegally used or otherwise been involved with a drug or controlled substance while employed as a law enforcement officer, prosecutor, or courtroom official; or while in a position directly and immediately affecting the public safety other than previously listed?”

what type of jobs are those? thank you