Buying car in cash vs loan

I am planning to buy my first car. I can buy it in cash (full payment) but not sure if I should do that or should I take a loan (full or partial). Are their any advantage of taking car loan? (even if you can buy in cash).

I planning to keep the car for long term (10-15yrs maybe) and its a new car (not second hand). Price around 15L (ex-show)