differential cohomology
A spin structure on a manifold with an orientation is a lift of the classifying map of the tangent bundle through the second step in the Whitehead tower of .
Spin structures derive their name from the fact that their existence on a space make the quantum anomaly for spinning particles propagating on vanish. See there.
The next steps correspond to
In the context of quantum field theory the existence of a spin structure on a Riemannian manifold arises notably as the condition for quantum anomaly cancellation of the sigma-model for the spinning particle – the superparticle – propagating on .
Discussions of spin structures along these lines date back to
Edward Witten, Global anomalies in String theory in Symposium on anomalies, geometry, topology , World Scientific Publishing, Singapore (1985)
L. Alvarez-Gaumé Communications in Mathematical Physics 90 (1983) 161
D. Friedan, P. Windey, Nucl. Phys. B235 (1984) 395
It is the generalization of this anomaly computation from the worldlines of superparticles to superstrings that leads to string structure, and then further the generalizaton to the worldvolume anomaly of fivebranes that leads to fivebrane structure.