Magnetic flux is what generates the field around a magnetic material. It consists of photons, however, unlike the light we receive from the Sun, it is at a much lower frequency. (1) This is why magnetic field lines are not visible to the naked eye.