# Interactions in String Theory

I study in Szabo's book and in the "String Perturbation Theory" section he says the following:

in string theory the structure of interactions is completely determined by the free worldsheet ﬁeld theory, and there are no arbitrary interactions to be chosen. The interaction is a consequence of worldsheet topology.

I don't really understand this statement. It is clear that the worldsheet theory is free ($$D$$ massless scalar fields) and that the target spacetime field theory we get in target space time are coupled, but the worldsheet has always the same topology no? (e.g. $$\mathbb{R}\times S^1$$ for the closed string). How exactly is defined the interaction of strings? By introducing the Einstein-Hilbert for the worldsheet mertric, this giving us the Euler charctristic?

The free theory you quote is on the worldsheet and does not imply in a free theory on the target space. Also you don't have just $$D$$ free massless scalars. Before gauge-fixing you also have the two-dimensional metric as a degree of freedom. In that case when defining the functional integral you must take both into account
$$Z[0]=\int \mathfrak{D}h \mathfrak{D}X e^{-S_{\rm P}[h,X]}\tag{1}.$$
The gauge invariance of $$S_{\rm P}[h,X]$$ demands you to use the Faddeev-Popov procedure to properly define (1). When doing so you are going to gauge fix at the expense of introducing ghost fields as usual and in the process discard the (infinite) volume of the gauge group $${\cal G}={\rm Diff\times Weyl}$$.
Now observe that you integrate over the metric. In a given topology for the worldsheet some metrics can be defined and other ones can't. This means that in practice the space of metrics is sliced by worldsheet topology and the integral includes a sum over topologies of the worldsheet as well. In a given topology you may or may not be able to completely fix the metric. Indeed with the topology of a sphere you can gauge fix the metric away and set it to $$\hat{h}_{ab}=\delta_{ab}$$. On a torus topology you already can't do that and you will also have one integral over metrics on that particular topology (which turns out to be an integral over a finite-dimensional space, see Polchinski's Chapter 5). So as you see the worldsheet does not have a fixed topology because you must integrate over the metric in the path integral.
In the end you have more than just $$D$$ free massless scalars. There is this remaining integral over metrics when the topology does not allow you to completely gauge fix it away and there are also the ghost fields.