Music theory encompasses the nature and mechanics of music. It often involves identifying patterns that govern composers' techniques. In a more general sense, music theory also often distills and analyzes the elements of music – rhythm, harmony (harmonic function), melody, structure, Form, and texture. People who study these properties are known as music theorists.
See more at Wikipedia.org...