In physics, elasticity (from Greek ἐλαστός "ductible") is the tendency of solid materials to return to their original shape after being deformed. Solid objects will deform when forces are applied on them. If the material is elastic, the object will return to its initial shape and size when these forces are removed.
The physical reasons for elastic behavior can be quite different for different materials. In metals, the atomic lattice changes size and shape when forces are applied (energy is added to the system). When forces are removed, the lattice goes back to the original lower energy state. For rubbers and other polymers, elasticity is caused by the stretching of polymer chains when forces are applied.