Durkheim also argued that our primary categories for understanding the world have their origins in religion. It is religion, Durkheim writes, that gave rise to most if not all other social constructs, including the larger society. Durkheim argued that categories are produced by the society, and thus are collective creations. Thus as people create societies, they also create categories, but at the same time, they do so unconsciously, and the categories are prior to any individual's experience. In this way Durkheim attempted to bridge the divide between seeing categories as constructed out of human experience and as logically prior to that experience. Our understanding of the world is shaped by social facts; for example the notion of time is defined by being measured through a calendar, which in turn was created to allow us to keep track of our social gatherings and rituals; those in turn on their most basic level originated from religion. In the end, even the most logical and rational pursuit of science can trace its origins to religion. Durkheim states that, "Religion gave birth to all that is essential in the society.