In cryptography, encryption is mainly used to

(A) transfer data
(B) protect data
(C) store data
(D) edit data

The answer is: (B) protect data
Encryption is the process of protecting data (text, voice, video) by using mathematical models to scramble it so that only the authorized parties can access it.