In simple terms you take a public key and generate a hash of it - perform some complex mathematics to it and this creates a wallet address.
If you wan't to learn more about the complexities of this, we recommend reading this article:
β
βhttps://www.freecodecamp.org/news/how-to-create-a-bitcoin-wallet-address-from-a-private-key-eca3ddd9c05f/
β