Samskara (IAST: , sometimes spelled samskara) are sacraments in Hinduism and other Indian religions, described in ancient Sanskrit texts, as well as a concept in the karma theory of Indian philosophies. The word literally means "putting together, making perfect, getting ready, to prepare", or "a sacred or sanctifying ceremony" in ancient Sanskrit and Pali texts of India.
In the context of karma theory, samskaras are dispositions, character or behavioural traits, that exist as default from birth or prepared and perfected by a person over one's lifetime, that exist as imprints on the subconscious according to various schools of Hindu philosophy such as the Yoga school. These perfected or default imprints of karma within a person, influences that person's nature, response and states of mind.
In another context, Samskara refers to the diverse sacraments in Hinduism, Jainism, Buddhism and Sikhism. In Hinduism, the samskaras vary in number and details according to regional traditions. They range from the list of 40 samskaras in the Gautama Dharmasutra from about the middle of the 1st millennium BCE, to 16 samskaras in the Grhyasutra texts from centuries later. The list of samskaras in Hinduism include both external rituals such as those marking a baby's birth and a baby's name giving ceremony, as well as inner rites of resolutions and ethics such as compassion towards all living beings and positive attitude.
Saṃskāra (Sanskrit: संस्कार) has various context-driven meanings, that broadly refer to "the putting together, accomplishing well, making perfect, a form of solemn recognition and getting ready, engaging in works and acknowledging the purification of body by cleansing or mind by education or an object by a process (such as polishing a gem or refining a metal)". The term appears in the Śrutis, and in the Smritis of diverse schools of Hinduism as well as the texts of Jainism, Buddhism and Sikhism. The etymological roots of the word samskara when it refers to rites of passage, is also "preparation, purifying, perfecting" from one's past state to one's future state.