Jainism:Vardhamana Mahavira founded the Jain Dharma. He was a kshatriya prince of the Lichchhavis. At the age of thirty, he left home and went to live in a forest. For twelve years he led a hard and lonely life, at the end of which he attained enlightenment.
Teachings:
His doctrine was simple that suggested that men and women who wished to know the truth must leave their homes.
They must follow the rules of ahimsa very strictly.
He strictly preached that one should never hurt or kill other living beings.
Jainism has very difficult rules about living life. E.g. they have to beg for feeding themselves.
Buddhism: Buddhism has been founded by prince Siddhartha who was a kshatriya some 2500 years ago. He too left the comforts of his home in search of knowledge and attained enlightenment. He was known as the Buddha or the Wise One.
Teachings:
The Buddha taught that life is full of suffering and unhappiness due to our cravings and desires.
But this constant craving could be controlled by following moderation in everything.
He also taught people to be kind, and to respect the lives of others, including animals.
He believed that our karma affect us both in this life and the next.
He gave eight ways for an ideal life in his Ashtangik marg.