Cognizant interview question

Explain group by clause in SQL