The Lagrangian is the difference between kinetic energy and a potential energy: L = T - V
If there is kinetic energy T then a particle of mass is in motion. If there is potential energy V then it has the ability to store and release energy like a buffer so to speak. The Lagrangian in a sense captures these forms of energies mathematically. If a particle is moving and you want to slow it down, then its kinetic energy must go somewhere. And likewise, if a particle is at rest, and you want to accelerate it, the energy must come from somewhere. Hence the Lagrangian is accounting for motion and potential energy interacting with motion. The units are also in Joules.
The action
[tex]S = \int L dt[/tex]
integrates Lagrangian with respect to time. Units : J-s
If you do it from t0 to t1, the action adds up all Lagrangians of a system evolution from t0 to t1.
If you drop a ball from a height, then due to the gravitational potential energy it will start to accelerate and fall down to the ground. But suppose that the ball drops half way to the ground, then magically accelerates to the top again, then falls down 3/4 quarters way, goes up half way, and then floats down to the ground. Is this a possible path for the ball?
Not in this universe. But this effect can be captured by the Lagrangian if you plot it with respect to time. At every point in time the Lagrangian will vary in some way. It turns out if you take a path of least action, that is minimize it, then will it lead to the only possible motion of a particle, and that is it will accelerate down to Earth in this example.