Heredity plays an important part in diabetes. Genes are passed down from biological parent to child. Genes carry instructions for making proteins that are needed for the body’s cells to function. The key genes may vary in different population groups.