How did the emancipation Proclamation effect free and enslaved African Americans in the 1800's?

I believe the Emancipation Proclamation freed all the slaves and the confederansy states... I got this answer from my group with a teacher helped us.