State the type of energy conversion taking place in (i) thermal power plant and (ii) solar power plant

(i) Chemical energy of coal into electrical energy.
(ii) Light (solar) energy into electrical energy