Lenz's law is consequence of the law of conservation of
The energy of the field increases with the magnitude of the field. Lenz’s law infers that there is an opposite field created due to increase or decrease of magnetic flux around a conductor so as to hold the law of conservation of energy.