A formalism is derived for analyzing the spectral and temporal properties of gain-switched lasers. The development of the longitudinal mode structure from spontaneous emission, limiting linewidths, and over-all spectral characteristics are considered in detail; and applications are discussed.