Margin in its simplest form is a loan. What if you have a strong understanding that the market might move in a particular direction, and you want to invest more than what you have? This is where margin comes into play.
Here, a set of lenders can lend you a certain amount, and with that you can invest more than what you have. The lenders earn interest, the borrowers get to place larger orders. Overall a win-win.