Web RTC allows for real-time communication between browsers through APIs that support voice/video calling and file sharing. It implements the MediaStream API to access cameras/microphones, RTCPeerConnection for calling, and RTCDataChannel for peer-to-peer communication. Signaling is required between browsers for network information, session control, and media exchange, which can use technologies like SIP, XMPP, or XHR. Sample code shows setting up a call with getting streams, creating offers/answers, and sending candidates between peers.