The modern science of genetics , seeking to understand this process , began with the work of Gregor Mendel in the mid-19th century .
However , the modern science of genetics , which seeks to understand the process of inheritance , only began with the work of Gregor Mendel in the mid-nineteenth century .