A smidge of this with a dash of that.
Here's a short video that answers those questions as it examines how coffee affects the human brain: