The Equal Employment Opportunity Act is a federal law aimed at eliminating employment discrimination based on race, color, religion, sex, or national origin. It builds upon earlier civil rights legislation and established the Equal Employment Opportunity Commission (EEOC) to enforce these laws and investigate claims of discrimination in the workplace.