JLR Interview Question

What is stack overflow and why it happens?