In theology or the history of religion, heresiology is the study of heresy, and heresiographies are writings about the topic. Heresiographical works were common in both medieval Christianity and Islam.