The Lorenz gauge is an electrodynamic gauge for Maxwell's equations where we set the Divergence of the magnetic vector potential to
The benefit of this specific choice is that it cancels out two terms in the potential formulation of Maxwell's equations. The differential equation for then is
and the one for is
The benefit of the Lorenz gauge is that it makes the equations for and virtually identical; this can be rendered obvious by using the d'Alembertian operator :
These two are inhomogeneous wave equations . can be interpreted as a source term that's responsible for generating the electromagnetic wave, and in this gauge, the entirety of electrodynamics can be regarded as just the solution to these two equations (plus boundary conditions and the Lorentz force); everything else follows.
They also make the connection to electro/magnetostatics very clear: if we take away time dependence, the d'Alembertian becomes the Laplacian and the our two equations become the usual