what is the difference between caste and religion?
Caste is an elaborate and complex social system that combines elements of endogamy, occupation, culture.
and
Religion is a collection of cultural systems, belief systems, and worldviews that establishes symbols that relate humanity to spirituality and, sometimes, to moral values.
Hope you understood it.