After a short historical introduction, the different modes of separation in capillary electrophoresis are explained and illustrated by practical examples. In addition, the most important parameters that can be used to optimize the selectivity of the separation, are discussed.