Fortinet Interview Question

Is there any difference between WAF and IPS?