Music theory
Theory of Music is all about trying to understand how existing music works and how new music could or should be organized. Someone who makes a special study of music theory is a music theorist.