Fire was a process in which a substance (a gas, for example), reacted with oxygen in the environment to give heat, light, and other reaction products like smoke. The Jedi used fire for ceremonial purposes; Qui-Gon Jinn was cremated during his funeral on Naboo, as was the armor of Darth Vader during his funeral on Endor. Vader had previously been burned alive by fire on the lava rivers of Mustafar. Clone flame troopers used flamethrowers against Geonosians during the Second Battle of Geonosis. First Order Flametroopers used D-93 Incinerator flamethrowers to burn the village of Tuanul.