A rootkit is a type of malware that provides privileged access to a system by modifying the operating system or other components to hide its presence and evade detection. Rootkits can be used to steal sensitive information, install additional malware, or perform other malicious activities.