This makes trades move quickly, which speeds up price discovery. This is good for market health.
Market makers make their money on the difference between the buy-sell spread. Of course, this is a bet: if the market moves against them, they can lose money on this. Often a market has one or more officially designated market makers who are paid to _always_ have a certain number of both buy and sell offers on the market to ensure that there is always liquidity. The payments help cover their risk
(These payments are often also materialized in the form of a "takers fee", i.e. a surcharge you pay whenever you place an order into the market which can be immediately filled)
TL;DR: They're a warehouse which will always buy and sell some product, except when talking futures we're talking wagons full of nickel 1 month from now and so the warehouse doesn't physically exist