Answer
Margin is the capital you have before adding a leverage to it . example you have 100$ and you use a leverage of x2 . 100$ in this case which is your capital or investment is your margin. by adding more margin which is your own money tou tend to reduce your liquidation risk .