lacI is a gene that encodes the lac repressor, a protein that regulates the expression of the lac operon in bacteria. The lac repressor plays a crucial role in the operon theory of gene regulation, controlling the transcription of genes involved in lactose metabolism.