Just as petrol, cookies have energy density of zero until mixed with oxygen. Just like TNT, or more like black powder, batteries have all components required to yield energy in one enclosure, which is why there are battery explosion videos and no cookie explosion videos.