What it is
HTTPS means HTTP over TLS. The browser first establishes a TLS session with the server, then sends normal HTTP requests inside that encrypted tunnel. To the application, it still looks like HTTP.
Key points
- Adds confidentiality and integrity to web traffic on untrusted networks.
- Depends on correct certificate validation and hostname checks.
- Does not make a vulnerable web app safe, it only protects data in transit.
Concrete example
On public WiFi, an attacker can read and modify HTTP traffic. With HTTPS, the attacker still sees that you connected to a bank's IP, but cannot read your passwords or swap the page content without triggering certificate errors.