The term stems from two different ideas Freud briefly outlines this process, which begins with childhood researches on how sex works and is then interrupted […] The aesthetic notion of the sublime.
Sublimation According to Anna Freud | The Journal of Psychiatric Orgone
Transmute and sublimate the sexual energy to strengthen spiritual aspiration
You can check the process of transmutation and sublimation here!
Sublimation one of the more famous but abstract concepts that freud explained was that of sublimation This is the ability to take the sexual libido, or craving, and to direct it towards socially acceptable projects and goals