South Wales Police and Crime Commissioner Alun Michael says that studying religious education can "help fight crime".
He says that some hate crimes are committed because of a lack of understanding of different religions and values. But religious education could help to bridge that gap.
A new report by education watchdog Estyn has revealed standards of religious education in Wales are generally good.
Liz Counsell from Estyn says it is very important for schools to help pupils respect and understand different beliefs.
Pupils from St Teilo's Church in Wales High School come from a range of different faiths.
They say they have been learning about subjects including abortion and euthanasia in the religious education classes.
One pupil says, "Part of the reason why people attack people of other religions is that they don't know what they go through."
They hope that in the future, education will lessen hate crime.