A transcription factor is a protein that binds to specific DNA sequences, thereby controlling the rate of transcription of genetic information from DNA to messenger RNA. It plays a crucial role in regulating gene expression and facilitating cellular differentiation by turning genes on or off.