Qualcomm Interview Question

Why Implement stack checks in Embedded Systems ?