The scientific study of the principles of heredity and the variation of inherited traits among related organisms.
Genetics is the study of genes — what they are, what they do, and how they work. Genes inside the nucleus of a cell are strung together in such a way that the sequence carries information: that information determines how living organisms inherit various features (phenotypic traits). For example, offspring produced by sexual reproduction usually look similar to each of their parents because they have inherited some of each of their parents' genes. Genetics identifies which features are inherited, and explains how these features pass from generation to generation. In addition to inheritance, genetics studies how genes are turned on and off to control what substances are made in a cell-gene expression.
Nowadays, the genetics is interesting in computer science too. It can propose own advances and results of the investigations to describe the information interpretation for very complex objects and needed methods on the algorithmic level. For example, one gene can save value about one feature of the object, furthermore, using different methods of information coding we can expand properties of one gene whereby different shades. Also, considering gene on the abstract level of our understanding, we can build a very powerful system of equations which will be describing the object completely from different aspects.
To know more.