A document[1] (noun) is a piece of information that is used to communicate something. In the past it was usually a piece of paper that contained information written in ink, but documents are now often digital.
To document (verb) means to produce an object by collecting and representing information, and has a slightly different pronunciation.