Structure composed of a very long molecule of DNA and associated proteins (e.g. histones) that carries hereditary information.