HTTPS encrypts data sent between a user's browser and a website server which enhances security on websites ensuring safe transactions.