Quantization of Energy, Light Quantization and Photoelectric Effect. The Compton Effect.