Soul in Vedant

Know the embodied soul to be a part of the hundredth part of the point of a hair divided a hundred times; and yet it is infinite.

It is not female, it is not male, nor is it neuter. whatever body it takes, with that it becomes united.

By means of desires, contact, attachment and delusion, the embodied soul assumes, successively, diverse forms in various places, according to its deeds, just as the body grows when food and drink are poured into it.

The embodied soul, by means of good and evil deeds committed by itself, assumes many forms, coarse and fine. By virtue of its actions and also of such characteristics of the mind as knowledge and desire, it assumes another body for the enjoyment of suitable objects.

He who knows the Lord, who is without beginning or end, who stands in the midst of the chaos of the world, who is the Creator of all things and is endowed with many forms-he who knows the radiant Deity, the sole Pervader of the universe, is released from all his fetters.

Yajur Veda, Svetasvatara Upanishad, Part I, Chapter V, 9-13