WebSockets provide a persistent, bidirectional communication channel between a client and a server over a single TCP connection.
This allows for real-time, full-duplex interaction, unlike traditional HTTP requests which are typically request-response based.