ZeroMQ is a library for building distributed applications that provides patterns for request-reply, publish-subscribe, and pipelining between clients and services. It demonstrates using these patterns to build a hello world server and client, stock ticker publisher and subscriber, and parallel task processing pipeline. ZeroMQ supports multiple transport types and languages.