How do tags work?