The process of the fire burning is an exothermic process as heat energy is radiated out of the system into the surroundings. From the perspective of the surroundings, the process is endothermic as the surroundings are absorbing energy from the fire. As the fire burns, potential energy held in the chemical bonds is being released into kinetic energy with the movement of particles such as $CO_2$ into the air.
Work Step by Step
See explanation above.