Pregunta de entrevista de EY

What is the difference between HAVING and WHERE in sql