The processes of anatomical and physiological changes related to sexual or reproductive functions during the life span of a human or an animal, from fertilization to death. These include sex determination processes; sex differentiation; sexual maturation; and changes during aging.