There are varying beliefs about cattle in societies and religions.
Cattle are considered sacred in Indian religions such as Hinduism, Jainism, Buddhism, Sikhism and in African paganism. Cattle played other major roles in many religions, including those of ancient Egypt, ancient Greece, ancient Israel, ancient Rome.
In some regions, especially most states of India, the slaughter of cattle is prohibited and their meat may be taboo.
Legislation against the slaughter of cattle is in place throughout most states of India except Kerala and parts of the North-East.
If anybody said that I should die if I did not take beef tea or mutton, even on medical advice, I would prefer death. That is the basis of my vegetarianism.
Hinduism specifically considers the zebu (Bos indicus) to be sacred. Respect for the lives of animals including cattle, diet in Hinduism and vegetarianism in India are based on the Hindu ethics. The Hindu ethics are driven by the core concept of Ahimsa, i.e. non-violence towards all beings, as mentioned in the Chandogya Upanishad (~ 800 BCE). By mid 1st millennium BCE, all three major religions – Buddhism, Hinduism, and Jainism – were championing non-violence as an ethical value, and something that impacted one's rebirth. According to Harris, by about 200 CE, food and feasting on animal slaughter were widely considered as a form of violence against life forms, and became a religious and social taboo. India, which has 79.80% Hindu population as of (2011 census), had the lowest rate of meat consumption in the world according to the 2007 UN FAO statistics, and India has more vegetarians than the rest of the world put together.
According to Ludwig Alsdorf, "Indian vegetarianism is unequivocally based on ahimsa (non-violence)" as evidenced by ancient smritis and other ancient texts of Hinduism." He adds that the endearment and respect for cattle in Hinduism is more than a commitment to vegetarianism and has become integral to its theology. The respect for cattle is widespread but not universal.