Emotion

An emotion is the bodily byproduct of a thought.

Consider the electrical energy that sparks a light bulb.

The light bulb is called resistance.

It produces light (main product, thought in the mind) and heat (by product, emotion in the body)