In class, we learned the magnet or a wire with current passing through it, has a 3 dimensional magnetic field surrounding it. This was discovered by placing iron filling around the said items. However, what's the direction of the magnetic field? Which end is North? We apply the "Right Hand Rules".
Right Hand Rule #1:
Purpose - To find the I in a conductor.
How? Thumbs point to the current (I) and the other four fingers curl in the direction of the magnetic field (B).
Above, the current is going into the page
Above, the current is going out of the page
Right Hand Rule #2
Purpose - To find the North or direction of the magnetic field in a coil.
How? Fingers curl in the direction of the current and thumb points to the direction of North/ direction of the magnetic field.
The picture below uses the left hand however the final result is the same.