I agree with the other answer; thermal reactions take place on the ground state, but I would add that once an excited state is produced thermal reactions can occur there also. A nice example is the photochemical isomerisation of trans stilbene but other molecules such as octatetraene behave similarly. Photo-induced electron transfer is another example of a thermal reaction in the excited state.
A sketch of the potential energy profile along the reaction coordinate is shown below.
Once in the trans excited state there is a barrier (the transition state) that prevents the molecule from isomerising immediately. The barrier height is approx 15 kJ/mol and there is fluorescence from the excited state (lifetime 70 ps) which is in competition with isomerisation. The long fluorescence lifetime means that thermalisation occurs in the excited state. Once over the barrier there is a conical intersection which is crossed ballistically, that is without thermalisation, and either the trans ground state is produced or the cis ground state.
The small well in the excited trans state is at a greater bond extension than the ground state, meaning that before isomerisation the bond is stretched then it is twisted on the pathway to the cis isomer.
If the cis ground state is excited, this moves ballistically to the conical interaction as there appears to be no barrier to isomerisation.