1. Add a tag to a player
A tag is an invisible label you can filter on later, e.g. @a[tag=boss] inside another command
/tag @p add boss
What it does Will add the tag "boss" to the nearest player — you can then select this group with @e[tag=boss].