Green's Theorem and the Divergence Theorem both relate an integral over the interior of a set to an integral over the boundary of a set. The theorem of Stokes does the same, but with surfaces. It relates a surface integral to a line integral along the “rim” or “boundary” of the surface.