Both horizontal and vertical gel electrophoresis systems function on the principle of gel electrophoresis. The electric field in both systems is provided by an anode and a cathode.