Some Hindus believe that humans may be reborn in animal form, and that rebirth from human to animal form only occurs if an atman has repeatedly failed to learn lessons in human form.
Living life according to teachings in the scriptures will eventually lead to moksha. Some Hindu scriptures describe moksha as the atman becoming absorbed with Brahman, from where each atman is believed to originate. Other Hindu scriptures describe moksha as living in the realm of a personal God. The Maitri Upanishad states:
Even as water becomes one with water, fire with fire, and air with air, so the atman becomes one with the Infinite Atman (Brahman) and thus attains final freedom.Maitri Upanishad 6.24