What are the roles of histones in the assembly of chromosomes?

Packaging: The tight packaging of the DNA around the histones is achieved because the histones shield the negatively charged phosphate groups from each other. Otherwise the DNA would repel itself and could not fold up tightly.

Transcriptional control: The tight packing of DNA makes it less accessible for transcription that requires open access to the base sequence. Transcription factors (proteins) bind and interact with specific base sequences and achieve this more readily in histone-free DNA or in DNA that is more loosely packed. Thus the extent of DNA packaging in a cell regulates gene expression. In other words, one of the first steps in activating the transcription of a gene is to loosen the packaging by modifying the histones in specific ways, such as by methylation.