The paper presents basic elements of the accelerator beam physics in application to free-electron lasers.