The anterior cingulate cortex is located in the front of the cingulate cortex, circling above the corpus callosum. It is connected to other brain regions and involved in several functions. The ACC detects errors and monitors for conflicts. It also plays a role in reward-based learning and emotional awareness. Studies have shown the ACC is less active in religious people when thinking about religion. The ACC is stimulated when viewing photos of former romantic partners. Dysfunction in the ACC may play a role in depression and OCD.