Cognito users can be added to different groups, and we can treat users differently based on those groups. For example, as admin user can be shown an admin menu, whereas a regular user can be shown a regular menu. In this recipe, we will look at how to create and use groups with Cognito user pools.