A very fundamental question that no one has answered yet and few people even ask is this: does the brain produce consciousness/mind/spirit or is it the other way around? It is a known experimental fact that in quantum physics a conscious observer changes the outcome of the experiment. Why is this?
There is no way to find out the function of the software in a computer, no matter how minutely the hardware thereof is examined, unless the complete computer is functioning correctly. Software is a product of the mind and is not physical even though it requires physical hardware to execute the software.
All ARRANGEMENT of matter is ultimately the result of the activity of mind, regardless of whether this arrangement is caused by humans or what is commonly referred to as “nature”. The question then can be rephrased as, “does matter-energy create/manipulate mind/consciousness or does mind/consciousness manipulate matter-energy”.