Annotation means any extra information that is attached to the data.
In the machine learning domain, it refers to assigning predefined categories and tags/labels to documents and images. This data-label pair can be used for training classification-related problems by supervised learning where finding hidden patterns is easy.