When viewed as a religious epic through the lens of Hindu philosophy, each of the main characters stands for a different moral. Rama, Sita, Bharat and Laksmana each represent a different ideal. Filial piety, caring for underlings, loyalty in marriages and love for one's family as well as the Almighty are all morals that are taught in the Ramayana. It's considered by many faithful to be a set of rules to live by. Outside of a religious context the Ramayana teaches that those who you are loyal to reward that loyalty.