In bacteria, sigma factors play a crucial role in guiding RNA polymerase to specific promoter sequences on DNA. Sigma factors help RNA polymerase recognize and bind to the correct promoter regions, ensuring accurate initiation of transcription.