The doctrine of the ghost in the machine is that people are inhabited by an immaterial soul.