Any change in the magnetic environment of a coil of wire will cause a voltage (emf) to be "induced" in the coil. No matter how the change is produced, the voltage will be generated. The change could be produced by changing the magnetic field strength, moving a magnet toward or away from the coil, moving the coil into or out of the magnetic field, rotating the coil relative to the magnet, etc.
Lenz's Law :When an emf is generated by a change in magnetic flux according to Faraday's Law, the polarity of the induced emf is such that it produces a current whose magnetic field opposes the change which produces it. The induced magnetic field inside any loop of wire always acts to keep the magnetic flux in the loop constant. In the examples below, if the B field is increasing, the induced field acts in opposition to it. If it is decreasing, the induced field acts in the direction of the applied field to try to keep it constant.
For more explanation on these topics click on the below links :