What was the purpose of segregation?

A.
to terrorize African Americans
B.
to separate the races
C.
to make voting difficult
D.
to end the Civil War