I think the basic religious experience is awe. Most people have felt this, such as when contemplating the night sky, or the view from a mountain or aircraft, or when first seeing their newborn child.
Awe is an altered state of consciousness felt when the dimensions or meaning of an event overwhelm the mind's ability to process it. It is believed that awe takes place in the forebrain. Reducing oxygen to the forebrain can bring about altered states, such as when one is vigorously exercising or at a great height.
Awe can be accompanied by a feeling of terror. The vastness of the perceived event heightens awareness of one's powerlessness and mortality. Fire and brimstone sermons can enhance the feeling of terror. Symbols like the crucifix point to the inherent violence of existence.
Racism and sexism result from when people who are out of control of their own lives feel the need to control others. These are major sins, as they go against the religious principle of powerlessness.
I'm inspired by cute kitty videos on the internet. The kittens are powerless, but they are loved. The videos can help us understand our powerlessness and access our love for helpless creatures, like our fellow humans.