You can think of nostr as passing notes in class. Relays are the desks in between who "pass it on". Every time I post a note or comment or anything on nostr, that gets sent to the relays I'm connected to. Those relays then serve up my note to everyone else that's also connected to that relay.