Electric flux is a measure of the quantity of electric field passing through a given area, representing the flow of electric field lines through that surface. It is mathematically defined as the surface integral of the electric field vector over a surface area, and it plays a vital role in understanding electromagnetic fields and their interactions with materials, especially in engineering applications related to electrical devices and systems.