So what service to the journals provide to the people who are paying them?

You pay them, they give your work a stamp of prestige that is mostly unrelated to the quality of your work.