Electric flux is a measure of the total electric field passing through a given surface. It represents the number of electric field lines that intersect a surface, providing a quantitative way to describe the electric field in a specific region of space.