As shown in the animation from my school, a DNA molecule wraps around histone proteins to form tight loops called nucleosomes. These nucleosomes coil and stack together to form fibers called chromatin. Chromatin, in turn, loops and folds with the help of additional proteins to form chromosomes.
(Link my school used https://www.biointeractive.org/classroom-resources/how-dna-packaged )