How does the tag facility work?