[6] Unlike the Kama Sutra, which is an ancient sex manual related to Hindu literature, Ratirahasya deals with medieval Indian society.
A sex manual was needed that would be suitable for the medieval cultural climate, and Ratirahasya was written, quite different from the ancient text Kama Sutra.
[2] There are fifteen pachivedes (chapters) and 800 verses in Ratirahasya which deal with various topics such as different physiques, lunar calendar, different types of genitals, characteristics of women of various ages, hugs, kisses, sexual intercourse and sex positions, sex with a strange woman, etc.
"[2] In writing this text, Kokkoka depended on a number of other authors including, among others Nandikeshvara, Gonikaputra, and Vatsyayana.
Another English translation was made by S. C. Upadhyaya, entitled Kokashastra (Rati Rahasya) of Pundit Kokkoka.