Being undercover is disguising one’s own identity or using an assumed identity for the purposes of gaining the trust of an individual or organization to learn secret information or to gain the trust of targeted individuals in order to gain information or evidence. Traditionally it is a technique employed by law enforcement agencies around the world and a person who works in such a role is commonly referred to as an undercover agent.

This is to be distinguished from plain-clothes policing