In eukaryotes, genomic DNA is highly compacted in order to be able to fit it into the nucleus. This is accomplished by winding the DNA around protein octamers called histones, which has consequences for the physical accessibility of parts of the genome at any given time. Significant portions are silenced through histone modifications, and thus are inaccessible to the polymerases or their cofactors. The highest level of transcription regulation occurs through the rearrangement of histones in order to expose or sequester genes, because these processes have the ability to render entire regions of a chromosome inaccessible such as what occurs in imprinting.
Histone rearrangement is facilitated by post-translational modifications to the tails of the core histones. A wide variety of modifications can be made by enzymes such as the  histone acetyltransferases (HATs),  histone methyltransferases (HMTs), and  histone deacetylases (HDACs), among others. These enzymes can add or remove covalent modifications such as  methyl groups, acetyl groups, phosphates, and ubiquitin. Histone modifications serve to recruit other proteins which can either increase the compaction of the chromatin and sequester promoter elements, or to increase the spacing between histones and allow the association of transcription factors or polymerase on open DNA. For example, H3K27 trimethylation by the polycomb complex PRC2 causes chromosomal compaction and gene silencing. These histone modifications may be created by the cell, or inherited in an epigenetic fashion from a parent.