A new study finds categorizing obscure songs by their intended function is surprisingly easy to do—even when they’re the product of a faraway foreign land. Universal patterns of human behavior steer songs “into recurrent, recognizable forms,” writes a research team led by Samuel Mehr of Harvard University. It adds that these commonalities can be detected even as music maintains “its profound and beautiful variability across cultures.”