2. In which case can a magnetic field be produced? ​