I made a little diagram for you ser https://nostr.build/i/nostr.build_1fc363068bf9626eb2f018baf6d78b7f94623437421339cf49d8e30665e7d90d.png