Bitcoin mining is an energy intensive process that verifies transactions on a blockchain. It is performed by computers known as miners.
Aside from the hardware, the biggest factor in mining profitability is electricity costs. Fluctuating prices can cut or increase profit margins.