Thermit welding uses the following energy source ?

Thermit welding uses the following energy source ?

A. Electrical energy
B. Chemical energy
C. Energy of high velocity electrons
D. Heat generated by friction