When a current is passed in a conductor