Qualcomm interview question

Why Implement stack checks in Embedded Systems ?