IP Security (IPsec) is an IETF standards suite that provides data authentication, integrity, and confidentiality between two communication points across an IP network. It defines encrypted, decrypted, and authenticated packets. IPsec can be used to encrypt application layer data, provide security for router data, and authenticate data origins. It has three main components: Encapsulating Security Payload (ESP) provides data integrity, encryption, authentication, and anti-replay; Authentication Header (AH) also provides data integrity, authentication, and anti-replay but does not provide encryption; and Internet Key Exchange (IKE) dynamically exchanges encryption keys and establishes shared security attributes between devices to support secure communication.