The practice of celibacy, undertaken temporarily or for life as a monk or nun, is central to Buddhism. This practice is undertaken to help us to change our perception of the body, a change which is a necessary part of the process of true and complete liberation from suffering.
The Buddha understood the deepest root of our suffering as human beings as arising out of our attachment to a physical body which is inevitably prone to old age, sickness and death – a sensual perception of the body, our own or that of another person, causes us to hold on to the body as desirable and blinds us to its vulnerable state. This teaching is proven to the deep practitioner who is able, at least momentarily, to see differently. They will be able to let go of attachment to the body and enter into the bliss of samādhi, their first taste of liberation.
I offer this for your reflection