What is the main purpose of cryptocurrency?

The main purpose of cryptocurrency is to provide a decentralized, secure, and private way to transfer and store value. Cryptocurrencies use cryptography to secure their transactions and control the creation of new units, making them an attractive alternative to government-issued money.