This review gives a brief introduction to the physics and the structure of active galactic nuclei (AGN). The main topics that are being discussed are general accretion, the structure and the spectrum of various types of accretion disks, photoionization and recombination, energy balance and gas temperature, the spectrum of ionized gas including the effect of dust, and the dynamics of ionized gas...