jack-o'-lantern: lantern carved from a pumpkin
device: an instrumentality invented for a particular purpose
elastic energy: potential energy that is stored when a body is deformed (as in a coiled spring)