When an electric field is applied across a charged surface in contact with an electrolyte, ions in the diffuse layer adjacent to the surface move, dragging the solvent with them. This effect, known as the electric double layer, results in the flow of the liquid. The efficiency and direction of electroosmosis depend on factors such as the zeta potential, the ionic strength of the solution, and the applied electric field.