Mendelian genetics is the branch of genetics that is based on the principles laid out by Gregor Mendel, which describe how traits are inherited from one generation to the next through discrete units called genes. This foundational framework established the concept of dominant and recessive traits, and it forms the basis for understanding inheritance patterns in living organisms. Mendelian genetics connects with evolutionary theory by providing a mechanism for variation and natural selection, shaping our understanding of biological diversity.