What is one way African Americans served the Union's war effort?

(A) They served as nurses on the battlefield.

(B) They served in the Union army.

(C) They demonstrated in the South against the war.

(D) They protested against slavery.