Almost certainly thousands of tiny specialised modules that communicate with each other.

It is their communication that you experience as thoughts and feelings.