Think about it like this
Nostr is the world
Clients are the doors to the world
Relays are the highways of the world
If me and you are on the same highway we see each other
But if the party is on relay 14 and we on relay 18 we not at the party.
Relays are like servers that hold the notes people post