What was the purpose of Civil Rights Movement?

The purpose of the Civil Rights Movement was to end racial segregation and for African-Americans to get equal treatment as everyone else.Also Robert Parris Moses came in the picture and would teach kids and teens math and science so they could have knowledge.