NATS achieve a release-to-many communication - subscribe message distribution model. Publishers send messages about a topic, and listen for any active subscribers on the subject will receive the message. Subscribers can also register wildcard interested in the topic, the theme of these works a bit like a regular expression (just a little like). This mode is sometimes referred to many of the fan-out.
Browse through the pub-sub tutorial , using live server, try using the NATS publish their own subscriptions.