Some religious states may be more likely to strictly apply the beliefs of religion to the rules and regulations that control its citizens, therefore religion can be seen to act as an ideology in this instance
For some, religion is not concerned with strict adherence to religious doctrine but rather with connecting with a sense of belonging to something that has elements the individual believes in