The principle of ahimsa also forms a part of the teachings of Jainism and is based on love and kindness for all forms of life, as it was firmly believed that all forms of life, both plants and animals, are equal and have souls that are capable of attaining salvation or 'nirvana'.