Encryption secures information by converting it into a code that only someone with the appropriate key can decode. It is used to protect sensitive data, secure online transactions, ensure data integrity, and comply with regulations. Various encryption algorithms exist to ensure the confidentiality and security of information.