How/Why is it possible to change tor connection in tor browser

Hi together,

a few days ago i found out, that whonix exists. I read more or less the docs and i thought i understand the basic architecture. 2 VMs: one to work with, and the other manages the entry to the tor network. And the whole traffic from the workstation is routed through the gateway.

my question is, when the gateway handles the tor connection, why or how is it then possible to change the identity from the tor browser in the workstation? it made sense to me, when you would have to do this in the gateway vm, but not in the workstation. i mean it is much more comfortable, but why does this work?

does anyone know this and could help me to understand this, please?



thank you for the link. this was exactly the information that i missed.