Many of the elements in a Nativity set are based on actual events recounted in the New Testament gospels, such as Mary and Joseph, the Archangel Gabriel,;and the Star of Bethlehem. However, other elements, such as the Three Magi and the barnyard animals, are based more on early Church tradition than biblical accounts.