Espionage
Spyware is malware that spies on a system and thus, implicitly, on its user. Depending on the type of spyware and the device on which it runs, it can give access to someone’s private messages, microphone, or location.
An infostealer steals information from a system, such as passwords, credit cards, or cryptocurrency wallets. A keylogger steals anything typed on a keyboard.