While the Kama Sutra is the most famous Indian text on erotology, the Kokkoka Sastram (or Rati Rahasya ) became equally popular during the medieval period. It was written to provide a more concise and categorized approach to understanding human desire, physical compatibility, and the psychological aspects of love.
To obtain the actual legally: