In physics (quantum gravity and loop quantum gravity) a spinfoam or spin foam is a topological structure made out of two-dimensional faces.