Genetics in relation to agriculture