Spyware is a program placed on a computer without the user's knowledge that secretly collects information about the user.
The spyware gathers information and can send this information to another program or entity which can take control over the device or use personal information to harm the user.