For me, math was a way to study structure. I find this sort of thing tremendously beautiful on its own, but as it happens "finding the structure in things" turns out to be quite lucrative in the professional world as well, and I often use various ideas and strategies I chanced upon as a student of mathematics.