HTTP
Definition
The fundamental protocol used by the World Wide Web to define how messages are formatted and transmitted, and what actions web servers and browsers should take in response to various commands.
What Problem It Solves
HTTP solves the problem of arbitrary communication formats between clients and servers. It provides a standardized, application-layer protocol with clear request methods (GET, POST, etc.), headers, status codes, and payload packaging so that any web browser in the world can talk to any web server in the world without custom code.
What Happens If Not Used
Without HTTP, the World Wide Web could not exist as a unified, open system. Every company would create its own proprietary web communication formats, requiring specialized client software and making universal web browsing impossible.
Easy Wording
It is the set of rules or the "language" that your web browser uses to talk to a website server to request page contents like text, images, and videos.
Layman Example
Imagine walking into a restaurant (browser) and speaking to a waiter (HTTP protocol) to order food from the kitchen (server). You must speak the language the waiter understands to get your food.
Technical Example
When you type http://example.com in your browser, it sends a plain-text GET request to the server:
GET / HTTP/1.1
Host: example.com
User-Agent: Mozilla/5.0
The server processes this and returns a response containing the resources:
HTTP/1.1 200 OK
Content-Type: text/html
<!DOCTYPE html>
<html>...</html>