what was the purpose of the civil rights act of 1964

The purpose of the Civil Rights Act of 1964 was to outlaw discrimination based on race, color, religion, sex, or national origin in various aspects of society, including public accommodations, employment, and education. The act aimed to end segregation and ensure equal rights and opportunities for all individuals. It was a significant piece of legislation in the civil rights movement and helped to pave the way for future civil rights advancements in the United States.