The docs do mention how tokens are used. specifically the Authentication page. It mentions that the tokens give you the ability to take action or access data on behalf of that users account.
OAuth 2 is not a Twitch specific thing, it’s a widely used framework and worth reading up on as many other web services work in a similar way.