Hinduism is usually described as polytheistic, or characterized by a belief in many gods. Some figures are seen as alternate or local incarnations of major gods, while others have primarily regional identity. At the highest intellectual levels of Hindu theology, the many supernaturals are usually understood as merely variations of the one, indivisible god and life force, whose true identity is so ungraspable by humans, with their tiny intellects and limited imaginations, that they need these namable alternate spiritual presences in order to have any notion of the divine. Most people do not succeed in perfect dharma . They are thus reborn into a life determined by their karma , which is the sum of the results of their actions.
Good karma produces an enjoyable next life, while bad karma means more pain.
But moksha is preferable to any individual life. Individuals in each one of these groups are bound to fulfil their dharmas, whatever they may be. There are many caste designations in India, all of them classifiable into four main groups, with a large division of people classified as Untouchables, below and beyond the named castes. You must marry within your caste, and no matter how rich or poor you become, you and your descendants can never leave it. Classes, by contrast are usually endogamous, and people and their descendants seldom leave their class of origin, whatever their cultural myths tell them about class mobility.