The groups utility has been obsoleted by the id utility, and is equivalent to “id -Gn [user]”. The groups utility displays the groups to which you (or the optionally specified user) belong.