A surface integral generalizes integration from lines to surfaces by calculating quantities like flux or mass over a given surface. It integrates a function over the surface and is denoted by the symbol ∮ or ∫∫. The general form is the integral of a function f(x, y, z) over the surface S, where S is the surface of integration and f is the integrand, or function being integrated.