Heinrich Lenz was a German physicist who discovered Lenz's law in 1834, which states that the direction of the induced current in a conductor is always such that it creates a magnetic field opposing the change in magnetic flux that produced it. Lenz's law explains how transformers, inductors, and electric motors work based on electromagnetic induction and the principle that any change in magnetic flux induces an electromotive force in a conductor. It is an important law that is fundamental to understanding how transformers, inductors, electric generators, and motors function.