Miners are the single most important part of any cryptocurrency network, and much like trading, mining is an investment. Essentially, miners are providing a bookkeeping service for their respective communities. They contribute their computing power to solving complicated cryptographic puzzles, which is necessary to confirm a transaction and record it in a distributed public ledger called the Blockchain.
Bitcoin has been criticized for its use in illegal transactions, its high electricity consumption, price volatility, and thefts from exchanges. Some noted economists, including several Nobel laureates, have characterized it as a speculative bubble. Bitcoin has also been used as an investment, although several regulatory agencies have issued investor alerts about bitcoin.