Lac operon consists of a promoter for a structural gene, an operator, a structural gene lacZ which codes for lactase, a structural gene lacY that codes for permease, and a structural gene lacA which codes for transacetylase.
When lactose is present, the uptake of lactose by a bacterium distorts the shape of the lactose binding site in the repressor protein, causing it to no longer bind to the operator site.