Binaural beats are an auditory illusion that occurs when two slightly different frequencies are played into each ear through headphones. They work by capitalizing on the brain's natural tendency to process and integrate auditory information from both ears.