An HTTPS connection is an Hypertext Transfer Protocol (HTTP) connection where the requests are encrypted. Secure connections can safely transfer sensitive data in requests.
The data in the request is encrypted using a 'Secure Sockets Layer' (SSL).
One of the benefits of using an HTTPS connection is that it mitigates the risks of man-in-the-middle attacks. When an attacker intercepts a request between the client and server, the data will be encrypted, ensuring that sensitive data is not accessible to the attacker.
Most browsers warn users that a website is insecure if it's not served over HTTPS.