Electronic article surveillance (EAS) is a type of system used to prevent shoplifting from retail stores, pilferage of books from libraries, or unwanted removal of properties from office buildings. EAS systems typically consist of two components: EAS antennas and EAS tags or labels. EAS tags are attached to merchandise; these tags can only be removed or deactivated by employees when the item is properly purchased or checked out. If merchandise bearing an active tag passes by an antenna installed at an entrance/exit, an alarm sounds alerting staff that unauthorized merchandise is leaving the store. Some stores also have antennas at entrances to restrooms to deter shoppers from taking unpaid-for merchandise into the restroom where they could remove the tags.