Robert Sapolsky has spent decades researching primate brains, and in this book, he explains in detail how electric signals in different parts of the brain accumulate into emotions, cognition, and automaticity.
If you want to understand how people do, say, and feel various things, this book will certainly help.