exchange symmetry
Exchange symmetry describes how a multiparticle wavefunction behaves when you swap two identical particles. Because indistinguishability forbids any measurable change, the wavefunction can do only one of two things under such a swap: it can stay exactly the same, or it can flip sign and become its own negative. Mathematicians call the operation that swaps the two particles the exchange operator, and these two behaviours are its only allowed responses for identical particles.
Swapping twice returns the particles to their original labels, so doing the exchange a second time must undo it. That means the sign picked up in a single swap, squared, has to give back the original — which leaves exactly two possibilities, plus one or minus one. A state that comes back unchanged is called symmetric; a state that flips sign is called antisymmetric. There is no in-between in three-dimensional space.
These two choices are not a curiosity of the math; they carve all matter into two camps. Particles whose joint states are symmetric are bosons; those whose joint states are antisymmetric are fermions. The antisymmetric choice immediately forbids two fermions from sharing a state, while the symmetric choice positively encourages bosons to crowd together. From a single sign, the architecture of atoms and the physics of light both follow.
Under a single swap the wavefunction keeps its sign or flips it — the two roads to bosons and fermions.
The strict two-way choice holds in three dimensions. In special two-dimensional systems, exotic excitations called anyons can pick up other phases under exchange, but ordinary particles in our world are bosons or fermions.