The Ramayana is an ancient Sanskrit epic. It is attributed to the Hindu sage Valmiki and forms an important part of the Hindu canon (smṛti). The Ramayana is one of the two great epics of India, the other being Mahabharata. It depicts the duties of relationships, portraying ideal characters like the ideal servant, the ideal brother, the ideal wife and the ideal king.