The maths that has an immediate near-term application usually falls, almost by definition, under applied mathematics (or possibly a related field, such as physics, engineering, computer science etc.).
Pure mathematics essentially concerns itself with the mathematics of mathematics. It's basically the process of trying to either prove certain "empirically discovered" mathematical facts, or understand deeply what those facts mean in a more general way. Understanding this type of mathematics in this deep way allows further mathematics to bud off of that specific