How does the brain produce the mind? This is one of the most difficult problems in science, because how can physical qualities, no matter how complex and sophisticated, actually be mental experiences? Electrical impulses and chemical flows are not at all the kind of stuff that thoughts and feelings are. The physical and the mental are different categories.