The history of religion refers to the written record of human religious experiences and ideas. This period of religious history begins with the invention of writing about 5,200 years ago (3200 BCE). The prehistory of religion relates to a study of religious beliefs that existed prior to the advent of written records.