An X.509 certificate is a digital document used to verify the identity of a user, device, or server in a network, ensuring secure communication through public key infrastructure (PKI). It contains a public key, the identity it represents, and is signed by a trusted certificate authority (CA) to establish authenticity and trustworthiness.