A musical genre is a conventional category that identifies and classifies songs and compositions based on affinity criteria. The music can be grouped according to their formal and stylistic conventions, the tradition in which they are inserted, the spirit of their themes, their destination or, if present, their text. The vagueness of some of these parameters often makes the division of music into genres controversial and arbitrary. A musical genre can in turn be divided into sub-genres.