Ransomware is a type of malware which when infects your system, it locks or encrypts your important data. Once encrypted attackers ask for a ransom typically in the form of cryptocurrency such as bitcoin. The attackers may provide the decryption if you pay the money in bitcoin within a given time frame.