This reply has been accepted as the best answer.
Theoretically and on paper, the role of a market maker’s job is to provide liquidity. However, he may end up losing huge amount of money in this activity.
Generally, Market Makers profit by charging higher ask prices (selling) than bid prices (buying) i.e. the spread is high thus reducing the risk but there are lot of other ways to make profit which cannot be discussed on a public forum :)