Spyware - A spyware is a type of malware which gathers info/data without the user knowing which is sent back to a spy/unauthorized user.
Ransomware- Which is also a type of Malware which takes control of the computer system it may lock or encrypt files so the user can no longer gain access to them
Malware- Short for malicious software a Malware is a wide range of programs such as some I have listed above designed to attack computers so users are not able to make use of the computer.