If I have a conductor through which a current is flowing, is a magnetic field produced due to it?
Whenever electrically charged particles move, they result in a magnetic field. When a current passes through a conductor, electrons are moving through the conductor. Electrons have a negative charge. Their movement through the conductor induces a magnetic field which forms concentric circles around the conductor.
A rule to determine the direction of the magnetic field is the “right hand grip rule.” If you grip the conductor in your right hand and the current is flowing in the direction towards your thumb, the magnetic field forms concentric circles in the direction pointed by your fingers. This field is directly proportional to the current flowing through the conductor and inversely proportional to the distance from the conductor.