The lac operon in E. coli regulates lactose metabolism. It consists of three genes (lacZ, lacY, and lacA) and is controlled by a promoter, operator, and CAP site. Lactose presence triggers allolactose production, which inhibits the lac repressor, allowing transcription.