System Integrity Protection (SIP) stops programs from changing macOS itself. Even a program running as root can’t modify the system’s files, inject code into Apple’s apps or change protected settings.
How to check it’s on
In Terminal, run csrutil status. It should say System Integrity Protection status: enabled.
Why it matters for security
SIP is on by default and should stay on. It can only be turned off from macOS Recovery, which takes several deliberate steps. Some developers and people running older software turn it off; if you didn’t, and it’s off, find out why.