Sexual function is how the body reacts in different stages of the sexual response cycle. It is defined as the ability of an individual to react sexually or to experience sexual pleasure.