Spirits do not have brains. The brain is a physical organ, and spirts do not have physical components. They do, however, have the ability to think and speak. Apparently this happens apart from any physical properties. This points to the stark difference between spirit beings and human (earthen) beings.