Hardening is the process of securing a system by reducing its surface of vulnerability, which is larger when a system performs more functions. It involves configuring system settings, removing unnecessary software, and implementing security measures to protect against attacks.