The ability of a material to regain its original shape, after it has been stretched or compressed is called elasticity.