you just said the answer. DNA is the trait, the sugars, the hereditary stuff. and one way to get all of to one place from another is by chromosomes.
example. when an animal mates, the offspring will have two chromosome strands. one of its father, one of its mother.