Airodump-ng command and host discovery

How exactly does airodump-ng command allows you to discover the hosts that are connected to the network.
I understand the AP is transmitting beacons all the time so they could be connected to, but I don’t understand why the command can also output the hosts that are connected to it…
Thanks in advance