Chewy interview question

Difference between having clause and where clause in SQL