In writing poetry and prose, ancient Indians had gone into immense depths to study the process.

This is done under the science of rasa (aesthetics).

Various tools that can be used in the process are described in much detail.

One of the aspects is alankara (beautification), which includes over 200 templates that can be used to beautify a piece of literature.