First comes theory, afterwards sometimes practicality.
So many mathematical discoveries later became embedded in theories that allow us to understand the physical universe and in doing so engineer it.