Regular airliners use JET A-1 fuel. However, I've seen that military aircraft, i.e., Airforce or Navy; use a different kind of fuel called JP-N, where N is a number.
What is the reason why this happens? If those other fuels have different properties, which are them to be better than the JET A-1 fuel properties?