It provides another approach to mechanics by introducing a Hamiltonian function that describes the energy of a system.