The answer to your question is Dopamine and Serotonin. Dopamine is a neurotransmitter that affects our focus, drive, attention, memory and clear thinking. Elevation of dopamine levels leads to improvement in our mood, alertness, and libido. Serotonin, on the other hand, helps regulate a wide range of psychological and biological functions. It regulates psychological functions such as mood, anxiety, arousal, aggression, impulse control and thinking abilities.