This document introduces WebSockets and Server-Sent Events (SSE) as technologies for enabling real-time, two-way communication between clients and servers on the web. It describes how WebSockets allow for a full-duplex connection with low overhead, unlike traditional HTTP requests which are half-duplex. SSE provides a one-way mechanism for push notifications from server to client without polling. The document provides code examples for establishing WebSocket and SSE connections and handling events. It also reviews browser support for these technologies and includes a link to a demo chat application built with WebSockets.