A document entity represents something that is not a document by itself but
rather part of one. For example, in the context of a Markdown article, its
entities may be the sections or headers, whereas in a document for a class
in a programming language, its entities can be the methods and properties the
class exposes.