Electrophoresis is a technique that separates molecules based on their size and charge using an electrical field.