Ransomware is a FORM of malware that essentially holds a COMPUTER system captive while demanding a ransom.
The malware restricts USER access to the computer either by encrypting files on the hard drive or locking down the system and displaying messages that are intended to force the user to pay the malware creator to remove the restrictions and regain access to their computer.