An identity document is a document proving a person's identity.
If the identity document is a plastic card it is called an identity card. When the identity document incorporates a photographic portrait, it is called a photo ID. In some countries, identity documents may be compulsory or non-compulsory to have.
The identity document is used to connect a person to information about the person, often in a database.