A new study found that songs of over 3,000 passerine bird species are built from eight basic sound motifs.
Researchers analysed over one lakh recordings using machine learning and identified three trills, three whistles, atonal chaotic notes and harmonic stacks.
Birds use about five motifs on average, and their choice is influenced mainly by evolutionary history, habitat and social behaviour.
Birds in tropical rainforests generally use simpler songs for better sound transmission, while birds in temperate regions tend to use more complex, information-rich songs.