PepsiCo interview question

When and why would you use regression analysis?