A Ritual is a formalised, predetermined set of actions generally performed in a particular environment at a regular, recurring interval. The set of actions that comprise a ritual often include, but are not limited to, such things as recitation, singing, group processions, repetitive dance, manipulation of sacred objects, etc. The general purpose of rituals is to express some fundamental truth or meaning, evoke spiritual, numinous emotional responses from participants, and/or engage a group of people in unified action to strengthen their communal bonds. The word ritual, when used as an adjective, relates to the noun 'rite', as in rite of passage.
Although ritual is often used in context with worship performed in a church, the actual relationship between any religion's doctrine and its ritual(s) can vary considerably from religion to religion. Ritual often has a close connection with reverence, thus a ritual in many cases expresses reverence for a deity.
Rituals have formed a part of human culture for tens of thousands of years. The earliest known evidence of burial rituals dates from around 20,000 years ago. (Older skeletons show no signs of deliberate 'burial', and as such lack ritual.)