Electric flux is a measure of the quantity of electric field lines passing through a given surface area. It is mathematically defined as the surface integral of the electric field over that area and is often used to quantify the total electric field interacting with a specific surface. This concept is crucial in understanding how electric fields behave with respect to various geometries and in applying fundamental theorems related to vector fields.