Active noise cancellation works by identifying frequencies of sound in the environment and creating the exact opposite frequencies. These two sets of frequencies cancel each other out so the brain thinks that no ambient noise is present. This technology was first used in headphones in the 1980s to protect the hearing of airplane and helicopter pilots.