Comet is an umbrella term for web techniques that allow a web server to push data to a browser without an explicit request. Cometd is an open source project that implements the Bayeux protocol for asynchronous messaging and provides a framework for building comet applications with bidirectional communication. It uses techniques like long polling, streaming, and websockets to enable server push capabilities in web applications.