Gel electrophoresis is a technique used to separate mixtures like DNA and proteins. The separation is based on how positively or how negatively charged a molecule is, and its size. Gel electrophoresis uses a gel (like gelatin) and an electric field is put through the gel. 