Magnetic field effects on particles