Thermodynamics and statistical mechanics are related with temperature. It includes main topics such as Heat engine, kinetic theory. It uses terms such as heat(Q), work(W), and internal energy (U). First law of thermodynamics gives us the relation them by the following equation (ΔU = Q − W)