The wikipedia article is quite good: https://en.wikipedia.org/wiki/Optical_amplifier
Basically, the repeater is another laser, but the emmission of new photons is stimulated by low-energy photons exciting the partially-excited atoms in the amplifier.