First quantiization replaces position by an operator and time is a parameter. However relativity requires time and position to be treated on the same footing. Second quatiziation, aka, Quantum Field Theory, treats time and position as parameters, ie everything is a field. This way not only is relativity respected, but particles like electrons are treated in exactly the same way as EM fields that are quantisized. It was called second quantisation because originally the wavefunction was thought of as a field and was quantisized like EM fields were, but nowadays is viewed a bit differently.
Thanks
Bill