Ebury Interview Question

What is the difference between HAVING and WHERE in SQL?