Bitcoin and other cryptocurrencies use crypto mining to verify transactions and add them to the blockchain. This process involves grouping transactions into blocks and guessing a cryptographic hash value to win the block reward.
Mining is a huge investment, requiring expensive graphics cards and a dedicated computer. It also consumes massive amounts of energy. Miners often set up warehouses to house their equipment and have a daily electricity bill that can run into the thousands of dollars.