Adam and Eve were created by God as the first human beings in the book of Genesis, according to the theology of all Abrahamic religions. The story is a parable that solves the ancient philosophical question of "why do bad things happen to good people?", among others. In the Garden of Eden, all was perfect, for Adam and Eve didn't know existence to be any other way. They were expelled when they ate the fruit from the Tree of Knowledge of Good and Evil. This part of the parable serves to illustrate the nature of good and evil- because human logic at its most basic form thinks in opposite pairs, and because the first humans would naturally gain this logic with the knowledge of good and evil, it follows that Adam and Eve would not know what good is without the existence of evil, and vice-versa. As such, evil exists, and it befalls good people because it must. If it did not, we would not have developed the ability to reason, grow technologically as a species, and invent the very technology upon which we are reading this, all of which God intended.