Musical compositions are categorized based on their performance types, such as instrumental, vocal, or a combination of both. The structure of a piece, which is fundamental to its identity, often includes elements like variation, contrast, and repetition.