What was the main point of the Fourteenth Amendment?

the abolition of slavery
giving citizenship to the slaves
giving everyone the right to vote
making it illegal to discriminate against a person because of race

is it D?