when a current flows through a wire, a magnetic field is created around the wire
the field is made up of circles perpendicular to the wire
this can be shown by moving a compass around the wire
this because the changing direction of the compass needle will show a magnetic field has been produced
the strength of the magnetic field produced changes with the current and distance of the wire
the larger the current, or closer to the wire, the stronger the magnetic field