This visual execution compares CoAP and HTTP protocols. Both start with a client sending a GET request. HTTP sends a large text-based request over TCP, ensuring reliable delivery with a connection. CoAP sends a small binary confirmable message over UDP, using acknowledgements for reliability without a connection. The server processes the request and sends back a response similarly: HTTP uses TCP with larger messages, CoAP uses UDP with confirmable responses. The client receives the data reliably in both cases. HTTP maintains or closes the TCP connection after, while CoAP is stateless. Key differences include transport protocol, message size, and connection state. CoAP is designed for low-power IoT devices needing efficiency, while HTTP suits general web use. Understanding these steps helps grasp why CoAP is lightweight and HTTP is more robust but heavier.