The lac operon consists of a regulatory gene and three structural genes, which together facilitate lactose metabolism in E. coli. This operon responds to the presence of lactose and involves both negative regulation by a repressor and positive control mechanisms, making it a classic example of gene regulation in prokaryotes.