what is the heredity of a cell?