Answer:
It is not possible to accurately determine whether the system or the surroundings performs work in a chemical reaction without more information about the specific reaction and the conditions under which it occurs.
In general, the work done in a chemical reaction can be affected by several factors, including the pressure, volume, and temperature of the system, as well as the nature of the reactants and products. Some reactions may result in the system doing work on the surroundings, such as when gases expand and do work on their surroundings by pushing against a piston or other external object. Other reactions may result in the surroundings doing work on the system, such as when gases are compressed and their surroundings do work on them. Still other reactions may result in essentially no work being performed, such as when the reactants and products are in equilibrium or when the volume of the system remains constant.
Without more information about the specific reaction in question, it is not possible to accurately determine whether the system or the surroundings performs work.