CpG islands are short stretches of DNA where the frequency of cytosine followed by guanine is higher than in other genomic regions. They are often located near gene promoters and are crucial for gene regulation, playing a significant role in epigenetic modifications like methylation which influences gene expression without altering the DNA sequence.