The identification of fetal cells in the blood and tissues of healthy mothers raised questions about the potential alloreactive origins of various diseases, such as autoimmunity, diabetes, arteriosclerosis, and cancer. However, the extent to which alloreactivity contributes to these diseases remains unverified. This study presents a basic mathematical disease model based on the genes’ origin and immunological interactions. This model, grounded in set theory, classifies these immunological interactions based on their intrinsic, extrinsic, and allogeneic nature. Therefore, this model offers an unexpected common theoretical foundation for understanding alloreactivity, genetic diseases, and infections. Furthermore, this model provides a valuable framework for scrutinizing the role of alloreactivity in health and disease.