SSL, TLS, HTTPS work

Explain in your own words how SSL, TLS, HTTPS work and can be utilized to defend communications.