Electrophoresis separates molecules, such as proteins or nucleic acids, based on their charge and size under an electric field. This method is essential for analyzing complex mixtures in molecular biology and forensic science.