Pull back a gulel (slingshot) and let go: the stone shoots off. An archer bends a bow; on release the string straightens and the arrow flies. The stone and arrow gain kinetic energy they didn't have before, so it must have been stored in the stretched band or bent bow.
A spring works the same way: compress it (do work on it) and it stores energy due to its shape; release it and it pushes a ball away. You must apply an outside force against the spring's internal forces to deform it; when you let go, those internal forces undo the change and do work.
Energy can also be stored by changing the arrangement of objects:
- pull unlike magnetic poles apart and release: they rush together (they could even crush a pea)
- opposite electric charges pulled apart store energy the same way
- lift a ball away from the Earth: once released, ball and Earth rush together
Potential energy: energy stored by an object because of its deformation, or in a system of objects because of their relative positions.
Work against friction does not store energy this way.
Tap the diagram to enlarge it
- Stretched or squashed: stored
- Magnets and charges store too
- Friction doesn't store energy