Every quantum optics book starts with quantization of electromagnetic field. Why?
My understanding:

The quantized electric field consist of photon and it helps to derive some properties of photon.

Is that so?

I need clear explanation.