In the physical sciences, engineering and mathematics, sources and sinks is an analogy used to describe properties of vector fields. It generalizes the idea of fluid sources and sinks (like the faucet and drain of a bathtub) across different scientific disciplines. These terms describe points, regions, or entities where a vector field originates or terminates. This analogy is usually invoked when discussing the continuity equation, the divergence of the field and the divergence theorem. The analogy sometimes includes swirls and saddles for points that are neither of the two.
In the case of electric fields the idea of flow is replaced by field lines and the sources and sinks are electric charges.