Imagine you're shaking a sealed jar full of bouncy balls.
From the outside, the jar isn't going anywhere — it's just sitting in your hands — but inside, those balls are ricocheting wildly off each other and off the walls.
That hidden chaos?
That's internal energy.
Every system, whether it's a gas in a piston or steam in a kettle, carries energy you can't see just by watching the object sit still.
It's the combined kinetic energy of all those frantically moving particles plus the potential energy stored in how they push and pull on one another.
Now here's the elegant part: the first law of thermodynamics is really just the universe's bookkeeping rule.
Energy doesn't appear or vanish — it only moves.
You can change a system's internal energy by doing work on it (compressing a gas, for instance) or by heating it up.
That's it.
Work and heat are the only two doors energy can walk through.
Physicists map these changes on pressure-volume diagrams, where each curve tells a different story: hold the volume steady and you get one kind of process, hold the temperature steady and you get another, and if you perfectly insulate the system so no heat sneaks in or out, you get an adiabatic process.
Each special case is just a different constraint on those same two doors — work and heat — reshuffling energy inside the jar while the bouncy balls keep bouncing.