An undulator is an insertion device from high-energy physics and usually part of a larger installation, a synchrotron storage ring, or it may be a component of a free electron laser. It consists of a periodic structure of dipole magnets. These can be permanent magnets or superconducting magnets. The static magnetic field alternates along the length of the undulator with a wavelength . Electrons traversing the periodic magnet structure are forced to undergo oscillations and thus to radiate energy. The radiation produced in an undulator is very intense and concentrated in narrow energy bands in the spectrum. It is also collimated on the orbit plane of the electrons. This radiation is guided through beamlines for experiments in various scientific areas.