It is about authorization: what a token may do. The main roles are the user, the client app, the authorization server and the resource server (the API).