Mining is the process by which large networks of computers verify and secure Bitcoin and other cryptocurrencies. In return, miners are awarded with new coins.
It requires specialized hardware and is very energy intensive, which adds up to significant upfront and ongoing costs. Also, mining machines make a lot of noise and require space to house them.