Electrophoresis is the process in which specific components are separated based on size.
As the name implies protein electrophoresis is used to determine proteins in a sample and DNA electrophoresis is used to determine DNA segments (and later sequences) in a given sample.