The study of the beliefs, practices, and institutions of different religions in different historical periods.