Longevity is not normally directly inherited, but it can be indirectly affected by inheriting some family history of a genetic disorder or having a genetic defect. Genetic factors are determined at birth, but if a person has a family history of hereditary diseases or defects in genes, these unfavorable factors can shorten the expected life span to some extent. A good lifestyle as well as a sensible diet may also increase life expectancy. The quality of medical conditions available to an individual can also have an impact on life expectancy. Studies have shown that the length of human life is mainly related to genetics, lifestyle habits, and medical treatment. Appropriate exercise contributes to physical and mental health, can effectively prevent obesity and the three highs, and enhances cardiorespiratory function and physical fitness, thus strengthening one’s immunity, which will have an impact on life expectancy.