# Connected Sum Surgery

Is there any relationship between the connected sum operation and surgery theory? Is it possible to use surgery theory to "sew" two manifolds together and if so how is doing it by that approach different from the connected sum?

Let $$M$$ be an $$n$$-dimensional manifold and suppose there is an embedded $$S^k\times D^{n-k}$$. Note that $$M\setminus (S^k\times D^{n-k})$$ is an $$n$$-dimensional manifold with boundary $$S^k\times S^{n-k-1}$$, as is $$D^{k+1}\times S^{n-k-1}$$. We can glue these two together along their boundary to form a new $$n$$-manifold
$$M' := (M\setminus(S^k\times D^{n-k-1}))\cup_{S^k\times S^{n-k-1}}(D^{k+1}\times S^{n-k-1}).$$
We say that $$M'$$ is obtained from $$M$$ by a $$k$$-surgery.
The connected sum operation is just a special type of $$0$$-surgery. Let $$X$$ and $$Y$$ be connected $$n$$-dimensional manifolds, and consider the manifold $$M := X \sqcup Y$$. We can find an embedded $$S^0\times D^n = D^n\sqcup D^n$$ in $$M$$ by choosing an open disc in $$X$$ and an open disc in $$Y$$. Doing a $$0$$-surgery on this embedded $$S^0\times D^n$$ means removing those discs and gluing in $$D^1\times S^{n-1} = [0, 1]\times S^{n-1}$$ (i.e. a cylinder) to join the resulting boundaries; this is exactly the connected sum of $$X$$ and $$Y$$.
Note, if we had chosen an embedding of $$S^0\times D^n = D^n\sqcup D^n$$ such that both discs are in either $$X$$ or $$Y$$, the result of the $$0$$-surgery would not be a connected sum. The result of a $$0$$-surgery where both discs lie in $$X$$ is the manifold $$X\#(S^1\times S^{n-1}) \sqcup Y$$.