A family of basic proteins that associate with DNA in the nucleus and help condense it into chromatin. Nuclear DNA does not appear in free linear strands; it is highly condensed and wrapped around histones in order to fit inside of the nucleus and take part in the formation of chromosomes. Some histones function as spools for the thread-like DNA to wrap around. [From https://www.nature.com/scitable/definition/histones-57/]