A free-electron laser depends upon a beam of tightly bunched electrons. Short bunches of electrons are produced by a photoinjector, but they quickly grow, because electrons have negative charge and little mass, causing the bunch to expand. As the bunch is accelerated, the electrons gain mass and quickly approach the speed of light. After that, electrons at the end of the bunch cannot go any faster to catch up with electrons at the beginning of the bunch.