Spyware is malware that secretly records user behaviour on devices, so that malicious actors can use this information.