Answer is gene ; chromatin
Genes are the functional units of heredity. It is usually defined as a segment of DNA that contains the instructions for the synthesis of a specific protein.
In eukaryotes, the DNA in the nucleus is present in the chromosomes. Each chromosomes consists of a single, long linear DNA molecule associated with proteins that fold and pack the fine DNA thread into a more compact structure. The complex of DNA and protein is called chromatin.