Some devices simply block sound. Others cancel out noises using sound engineering. There is positive, but limited, research that suggests they might be useful for autistic or ADHD people.
Listening to music can be a joyful experience.
Sarah L. Voisin/The Washington Post via Getty Images