When cavemen ate more than they needed, the extra food was stored as fat in their bodies. Their bodies used the stored body fat as energy when they ate less than what their bodies needed.