How does tagging works?