The primary function of nuclear receptors is to alter gene expression. When a ligand, such as a hormone, binds to a nuclear receptor, it undergoes a conformational change. This change allows the receptor to bind to specific DNA sequences known as response elements. Once bound, these receptor-ligand complexes can recruit other proteins called coactivators or corepressors, which modulate the transcription of target genes.