Thermal energy is used to cook food. Thermal energy is heat. It's converted from either electrical potential energy or chemical potential energy, depending on the cooking appliance.
I'd argue that it would be chemical and heat/thermal energy. Chemical because of the food being used as ingredients, but thermal because of the stove or oven.