Samhita literally means "put together, joined, union",[1] a "collection",[2] and "a methodically, rule-based combination of text or verses".[1] Samhita also refers to the most ancient layer of text in the Vedas, consisting of mantras, hymns, prayers, litanies and benedictions.[3]

Parts of Vedic Samhitas constitute the oldest living part of Hindu tradition.[3]

Samhita is a Sanskrit word from the prefix sam (सम्), 'together', and hita (हित), the past participle of the verbal root dha (धा) 'put'.[4][5] The combination word thus means "put together, joined, compose, arrangement, place together, union", something that agrees or conforms to a principle such as dharma or in accordance with justice, and "connected with".[1] Saṃhitā (संहिता) in the feminine form of the past participle, is used as a noun meaning "conjunction, connection, union", "combination of letters according to euphonic rules", or "any methodically arranged collection of texts or verses".[1][6]

In the most generic context, a Samhita may refer to any methodical collection of text or verses. Any shastra, sutra or Sanskrit Epic, along with Vedic texts, can be called a Samhita.[1]

Samhita, however, in contemporary literature typically implies the earliest, archaic part of the Vedas. These contain mantras – sacred sounds with or without literal meaning, as well as panegyrics, prayers, litanies and benedictions petitioning nature or Vedic deities.[3] Vedic Samhita refer to mathematically precise metrical archaic text of each of the Vedas (Rigveda, Yajurveda, Samaveda and Atharvaveda).

The Vedas have been divided into four styles of texts – the Samhitas (mantras and benedictions), the Brahmanas (text on rituals, ceremonies, sacrifices and symbolic-sacrifices), the Aranyakas (commentaries on rituals, ceremonies and sacrifices), and the Upanishads (text discussing meditation, philosophy and spiritual knowledge).[7][8][9] The Samhitas are sometimes identified as karma-khanda (कर्म खण्ड, action/ritual-related section), while the Upanishads are identified as jnana-khanda (ज्ञान खण्ड, knowledge/spirituality-related section).[7][10] The Aranyakas and Brahmanas are variously classified, sometimes as the ceremonial karma-khanda, other times (or parts of them) as the jnana-khanda.

The Vedic Samhitas were chanted during ceremonies and rituals, and parts of it remain the oldest living part of Hindu tradition.[3]

A collective study of Vedas and later text suggests that the compendium of Samhitas and associated Vedic texts were far larger than currently available. However, most have been lost at some point or over a period of Indian history.[11]

The Gayatri mantra is among the famous Hindu mantras. It is found in Rig Veda Samhita.[12]

ॐ भूर्भुवस्वः। तत्सवितुर्वरेण्यम्। भर्गो देवस्य धीमहि। धियो यो नः प्रचोदयात्
Oṁ Bhūr Bhuva~Swah', Tat savitur varenyam, Bhargo devasya dhīmahi, Dhiyo yo nah prachodayāt
Let us meditate on that excellent glory of the divine Light. May he inspire our thoughts, stimulate our understandings.

Weber noted that the Samhita of Samaveda is an anthology taken from the Rigveda-Samhita.[14] The difference is in the refinement and application of arts such as melody, meters of music and literary composition.[15] Thus, the root hymn that later became the Rathantara (Excellent Chariot) mantra chant is found in both Rigveda and Samaveda Samhitas, as follows,[15]

Rigveda form:
Abhi tva sura nonumo 'dugdha iva dhenavah | isanam asya jagatah svardrsam isanam indra tasthusah
Samaveda form:
obhitvasuranonumova | adugdha iva dhenava isanamasya jagatassuvardrsam | isanama indra | ta sthu sa o va ha u va | as ||
We cry out for you, hero, like unmilked cows to the lord of the living world !

The hymns in Section 4.1.5 of the Yajurveda Samhita, dedicated to several ancient deities, state:[16][17]

May the Vasus prepare you, with the gayatri meter, you are the earth,
May the Rudras prepare you, with the tristubh meter, you are the sky.
May the Adityas prepare you, with the jagati meter, you are the heaven.
May the Visvedevas, common to all men, prepare you, with the anustubh meter, you are the directions.
You are the unchanging direction, make unchanging in me children, abundance of wealth, abundance of cattle, abundance of heroism.

A hymn in the Atharva Veda Samhita, for example, is a woman's petition to deity Agni, to attract suitors and a good husband.[18][19]

May O Agni!, a suitor after this girl's heart come to her,
May he come to this maiden with fortune!
May she be agreeable to suitors, charming at festivals, promptly obtain happiness through a husband!

There are many well known books written in the post-vedic period, also known as samhitas, because the word “samhita” also means “systematic compilation of knowledge”. Vedic samhitas should not be confused with these samhitas of post-vedic period.

Some post-vedic Samhitas are: Ashtavakra Gita, Bhrigu Samhita, Charaka Samhita, Deva Samhita, Garga Samhita, Gheranda Samhita, Kashyap Samhita, Shiva Samhita, Brihat Samhita, Sushruta Samhita (a treatise on food and medicine), Yogayajnavalkya Samhita.[citation needed]