1. User Pools:
"Who are you?" – This is about user sign-up and authentication. You store user data like emails and passwords.
2. Identity Pools:
"What do you have access to?" – This is about permissions and authorization. You get temporary access tokens for AWS resources after being authenticated.