Thinking is the process that extact information by transforming a probabilty distribution to another disbution using energy.More classicly, your brain is an engine that execute a processes that update its own neural configuration based on newly perceived information using energy acquired by digestion.