Both ED and low testosterone (hypogonadism) increase with age. The incidence of the latter is 40% in men aged 45 years and older.  Testosterone is known to be important in mood, cognition, vitality, bone health, and muscle and fat composition. It also plays a key role in sexual dysfunction (eg, low libido, poor erection quality, ejaculatory or orgasmic dysfunction, reduced spontaneous erections, or reduced sexual activity). 
Many clinical studies have looked at the effect of testosterone treatment on body composition in hypogonadal men or men with borderline low testosterone levels. Some of these studies specifically examine these changes in older men (Tenover 1992; Morley et al 1993; Urban et al 1995; Sih et al 1997; Snyder et al 1999; Kenny et al 2001; Ferrando et al 2002; Steidle et al 2003; Page et al 2005). The data from studies, on patients from all age groups, are consistent in showing an increase in fat free mass and decrease in fat mass or visceral adiposity with testosterone treatment. A recent meta-analysis of 16 randomized controlled trials of testosterone treatment effects on body composition confirms this pattern (Isidori et al 2005). There have been less consistent results with regard to the effects of testosterone treatment of muscle strength. Some studies have shown an increase in muscle strength (Ferrando et al 2002; Page et al 2005) with testosterone whilst others have not (Snyder et al 1999). Within the same trial some muscle group strengths may improve whilst others do not (Ly et al 2001). It is likely that the differences are partly due to the methodological variations in assessing strength, but it also possible that testosterone has different effects on the various muscle groups. The meta-analysis found trends toward significant improvements in dominant knee and hand grip strength only (Isidori et al 2005).
Impotence is a common problem among men and is characterized by the consistent inability to sustain an erection sufficient for sexual intercourse or the inability to achieve ejaculation, or both. Erectile dysfunction can vary. It can involve a total inability to achieve an erection or ejaculation, an inconsistent ability to do so, or a tendency to sustain only very brief erections.
Robbins, C. L., Schick, V., Reece. M., Herbenick, D., Sanders, S. A. Dodge, B., & Fortenberry J. D., (2011, December 1). Prevalence, frequency, and associations of masturbation with partnered sexual behaviors among US adolescents. JAMA Pediatrics, 165(12), 1087–1093. Retrieved from https://jamanetwork.com/journals/jamapediatrics/fullarticle/1107656
A simple blood test can determine testosterone levels. There is a wide range of “normal” or healthy level of testosterone circulating in the bloodstream. The normal range of testosterone for men is between 250 and 1100 ng/dL for adult males, and between 8 and 60 ng/dL for adult females, according to the Mayo Clinic. Ask your doctor to test your testosterone levels if you have concerns about low testosterone (low T).