Enhancers work by interacting with specific transcription factors and other proteins that facilitate the assembly of the transcriptional machinery. When these proteins bind to an enhancer, the DNA bends, bringing the enhancer into close proximity with the promoter region of the gene. This proximity allows the transcription factors to interact with the basal transcription machinery, thereby increasing the rate of gene transcription.