Ecclesiastes 11:5 As thou knowest not what is the way of the spirit, nor how the bones do grow in the womb of her that is with child: even so thou knowest not the works of God who maketh all.
While I am quite sure of many things about the spirit explained in the Bible, true understanding of "the way of the spirit," and how God makes all these things, is likely beyond our earthly comprehension.