Shape memory refers to the ability of certain materials to return to a predefined shape when exposed to a specific stimulus, such as heat, light, or magnetic field. This unique property is predominantly observed in shape memory alloys (SMAs) and shape memory polymers (SMPs).