|Part of a series on|
Yajna (Sanskrit: यज्ञ, romanized: yajña, lit. 'sacrifice, devotion, worship, offering') refers in Hinduism to any ritual done in front of a sacred fire, often with mantras. Yajna has been a Vedic tradition, described in a layer of Vedic literature called Brahmanas, as well as Yajurveda. The tradition has evolved from offering oblations and libations into sacred fire to symbolic offerings in the presence of sacred fire (Agni).
Yajna rituals-related texts have been called the Karma-kanda (ritual works) portion of the Vedic literature, in contrast to Jnana-kanda (knowledge) portion contained in the Vedic Upanishads. The proper completion of Yajna-like rituals was the focus of Mimansa school of Hindu philosophy. Yajna have continued to play a central role in a Hindu's rites of passage, such as weddings. Modern major Hindu temple ceremonies, Hindu community celebrations, or monastic initiations may also include Vedic Yajna rites, or alternatively be based on Agamic rituals.
The word yajna (Sanskrit: यज्ञ, romanized: yajña) has its root in the Sanskrit yaj meaning 'to worship, adore, honour, revere' and appears in the early Vedic literature, composed in 2nd millennium BCE. In Rigveda, Yajurveda (itself a derivative of this root) and others, it means "worship, devotion to anything, prayer and praise, an act of worship or devotion, a form of offering or oblation, and sacrifice". In post-Vedic literature, the term meant any form of rite, ceremony or devotion with an actual or symbolic offering or effort.
A yajna included major ceremonial devotions, with or without a sacred fire, sometimes with feasts and community events. It has, states Nigal, a threefold meaning of worship of the deities (devapujana), unity (sangatikarana) and charity (dána).
The Sanskrit word is related to the Avestan term yasna of Zoroastrianism. Unlike the Vedic yajna, however, the Yasna is the name of a specific religious service, not a class of rituals, and they have "to do with water rather than fire". The Sanskrit word is further related to Ancient Greek ἅζομαι (házomai), "to revere", deriving from the Proto-Indo-European root *Hyeh₂ǵ- ("to worship").
Yajna has been a part of an individual or social ritual since the Vedic times. When the ritual fire – the divine Agni, the god of fire and the messenger of gods – was deployed in a Yajna, mantras were chanted. The hymns and songs sung and oblations offered into the fire were a form of hospitality towards the Vedic gods. The offerings were believed to be carried by Agni to the gods, the gods in return were expected to grant boons and benedictions, and thus the ritual served as a means of spiritual exchange between gods and human beings. The Vedangas, or auxiliary sciences attached to the Vedic literature, define Yajna as follows,
Definition of a Vedic sacrifice
Yajña, sacrifice, is an act by which we surrender something for the sake of the gods. Such an act must rest on a sacred authority (āgama), and serve for man's salvation (śreyortha). The nature of the gift is of less importance. It may be cake (puroḍāśa), pulse (karu), mixed milk (sāṃnāyya), an animal (paśu), the juice of soma-plant (soma), etc; nay, the smallest offerings of butter, flour, and milk may serve for the purpose of a sacrifice.
— Apastamba Yajna Paribhasa-sutras 1.1, Translator: M Dhavamony
In the Upanishadic times, or after 500 BCE, states Sikora, the meaning of the term Yajna evolved from "ritual sacrifice" performed around fires by priests, to any "personal attitude and action or knowledge" that required devotion and dedication. The oldest Vedic Upanishads, such as the Chandogya Upanishad (~700 BCE) in Chapter 8, for example state,
अथ यद्यज्ञ इत्याचक्षते ब्रह्मचर्यमेव
तद्ब्रह्मचर्येण ह्येव यो ज्ञाता तं
विन्दतेऽथ यदिष्टमित्याचक्षते ब्रह्मचर्यमेव
तद्ब्रह्मचर्येण ह्येवेष्ट्वात्मानमनुविन्दते ॥ १ ॥
What is commonly called Yajna is really the chaste life of the student of sacred knowledge,
for only through the chaste life of a student does he who is a knower find that,
What is commonly called Istam (sacrificial offering) is really the chaste life of the student of sacred knowledge,
for only having searched with chaste life of a student does one find Atman (Soul, Self) || 1 ||
— Chandogya Upanishad 8.5.1 
The later Vedic Upanishads expand the idea further by suggesting that Yoga is a form of Yajna (devotion, sacrifice). The Shvetashvatara Upanishad in verse 1.5.14, for example, uses the analogy of Yajna materials to explain the means to see one's soul and God, with inner rituals and without external rituals. It states, "by making one's own body as the lower friction sticks, the syllable Om as the upper friction sticks, then practicing the friction of meditation, one may see the Deva who is hidden, as it were".
Further information: Dhyāna in Hinduism § Agnihotra
The nature of Vedic sacrifice and rituals evolved over time, with major changes during the 1st millennium BCE, changes that influenced concepts later adopted by other traditions such as Buddhism. Early Vedic period sacrifices involved animal sacrifice, but the rituals were progressively reinterpreted over time, substituting the offerings and making it non-violent or symbolic, with the superiority of knowledge and celebration of sound of mantra replacing the physical offerings. Ultimately, the external rituals were reformulated and replaced with "internal oblations performed within the human body". These ideas of substitution, evolution from external actions (karma-kanda) to internal knowledge (jñana-kanda), were highlighted in many rituals-related sutras, as well as specialized texts such as the Brihadaranyaka Upanishad (~800 BCE), Chandogya Upanishad, Kaushitaki Upanishad and Pranagnihotra Upanishad.
The Vedic text Satapatha Brahmana defines a sacrifice as an act of abandonment of something one holds of value, such as oblations offered to god and dakshina (fees, gifts) offered during the yajna. For gifts and fees, the text recommends giving cows, clothing, horses or gold. The oblations recommended are cow milk, ghee (clarified butter), seeds, grains, flowers, water and food cakes (rice cake, for example). Similar recommendations are repeated in other texts, such as in the Taittiriya Shakha 2.10 of the Krishna Yajurveda).
Tadeusz Skorupski states that these sacrifices were a part of ritual way of life, and considered to have inherent efficacy, where doing these sacrifices yielded repayment and results without the priests or gods getting involved. These Vedic ideas, adds Skorupski, influenced "the formulation of Buddhist theory of generosity". Buddhist ideas went further, criticizing "the Brahmins for their decadence and failure to live in conformity with the Brahmanic legacy of the ancient Brahmins", who claimed the Vedic ancients "lived in self restraint, were ascetics, had no cattle, no gold, and no wealth". The Buddha sought return to more ancient values, states Tadeusz Skorupski, where the Vedic sages "had study as their grain and wealth, guarded the holy life as their treasure, praised morality, austerity and nonviolence; they performed sacrifices consisting of rice, barley and oil, but they did not kill the cows".
Vedic (Shrauta) yajnas are typically performed by four priests of the Vedic priesthood: the hota, the adhvaryu, the udgata and the Brahma. The functions associated with the priests were:
There were usually three fires lit in the center of the offering ground. Oblations are offered into the fire. Among the ingredients offered as oblations in the yajna are ghee, milk, grains, cakes and soma. The duration of a yajna depends on its type, some last only a few minutes whereas, others are performed over a period of hours, days or even months. Some yajnas were performed privately, while others were community events. In other cases, yajnas were symbolic, such as in the Brihadaranyaka Upanishad hymn 3.1.6, where "the mind is the Brahmin of sacrifice" and the goal of sacrifice was complete release and liberation (moksha).
The benedictions proffered ranged from long life, gaining friends, health and heaven, more prosperity, to better crops. For example,
May my rice plants and my barley, and my beans and my sesame,
and my kidney-beans and my vetches, and my pearl millet and my proso millet,
and my sorghum and my wild rice, and my wheat and my lentils,
prosper by sacrifice (Yajna).— White Yajurveda 18.12, 
Yajnas, where milk products, fruits, flowers, cloth and money are offered, are called homa or havan. A typical Hindu marriage involves a Yajna, where Agni is taken to be the witness of the marriage.
Kalpa Sutras list the following yajna types:
|Name of sacrifice||What is sacrificed?||To whom?||Frequency|
|Bhuta-yajna||Food cakes||Sacrifice to living beings
(animals, birds, etc.)
|Manushya-yajna||Alms and water
|Sacrifice to fellow human beings||Daily|
|Pitr-yajna||Libations of water||Sacrifice to ancestors||Daily|
|Deva-yajna (homa)||Ghee||Sacrifice to gods||Daily|
|Brahma-yajna||Words (reading of the Vedas)||Sacrifice to Brahman
In Valmiki's Ramayana, it is said that Rama performed ashvamedha, vajapeya, pundarika, rajasuya, and several other yajnas multiple times.
The Vedic yajna ritual is performed in the modern era on a square altar called Vedi (Bedi in Nepal), set in a mandapa or mandala or kundam, wherein wood is placed along with oily seeds and other combustion aids. However, in ancient times, the square principle was incorporated into grids to build large complex shapes for community events. Thus a rectangle, trapezia, rhomboids or "large falcon bird" altars would be built from joining squares. The geometric ratios of these Vedi altar, with mathematical precision and geometric theorems, are described in Shulba Sutras, one of the precursors to the development of mathematics in ancient India. The offerings are called Samagri (or Yajāka, Istam). The proper methods for the rites are part of Yajurveda, but also found in Riddle Hymns (hymns of questions, followed by answers) in various Brahmanas. When multiple priests are involved, they take turns as in a dramatic play, where not only are praises to gods recited or sung, but the dialogues are part of a dramatic representation and discussion of spiritual themes.
The Vedic sacrifice (yajna) is presented as a kind of drama, with its actors, its dialogues, its portion to be set to music, its interludes, and its climaxes.— Louis Renou, Vedic India
The Brahmodya Riddle hymns, for example, in Shatapatha Brahmana's chapter 13.2.6, is a yajna dialogue between a Hotri priest and a Brahmin priest, which would be played out during the yajna ritual before the attending audience.
Who is that is born again?
It is the moon that is born again.
And what is the great vessel?
The great vessel, doubtless, is this world.
Who was the smooth one?
The smooth one, doubtless, was the beauty (Sri, Lakshmi).
What is the remedy for cold?
The remedy for cold, doubtless, is fire.— Shatapatha Brahmana, 126.96.36.199-18
Agni and yajna play a central role in Hindu weddings. Various mutual promises between the bride and groom are made in front of the fire, and the marriage is completed by actual or symbolic walk around the fire. The wedding ritual of Panigrahana, for example, is the 'holding the hand' ritual as a symbol of their impending marital union, and the groom announcing his acceptance of responsibility to four deities: Bhaga signifying wealth, Aryama signifying heavens/milky way, Savita signifying radiance/new beginning, and Purandhi signifying wisdom. The groom faces west, while the bride sits in front of him with her face to the east, he holds her hand while the Rig vedic mantra is recited in the presence of fire.
The Saptapadi (Sanskrit for seven steps/feet), is the most important ritual in Hindu weddings, and represents the legal part of Hindu marriage. The couple getting married walk around the Holy Fire (Agni), and the yajna fire is considered a witness to the vows they make to each other. In some regions, a piece of clothing or sashes worn by the bride and groom are tied together for this ceremony. Each circuit around the fire is led by either the bride or the groom, varying by community and region. Usually, the bride leads the groom in the first circuit. The first six circuits are led by the bride, and the final one by the groom. With each circuit, the couple makes a specific vow to establish some aspect of a happy relationship and household for each other. The fire altar or the Yajna Kunda is square.
The two rake the holy vow in the presence of Agni ... In the first four rounds, the bride leads and the groom follows, and in the final three, the groom leads and the bride follows. While walking around the fire, the bride places her right palm on the groom's right palm and the bride's brother pours some unhusked rice or barley into their hands and they offer it to the fire ...
The bride leads in all the first six pheras but follows the bridegroom on the seventh