3D printing is an additive manufacturing process that builds 3D objects by laying down successive layers of material. There are several major 3D printing technologies that differ in the materials and techniques used, such as stereolithography (SLA), fused deposition modeling (FDM), and selective laser sintering (SLS). 4D printing is an emerging technology that uses smart materials and 3D printing to create objects that can change shapes or properties when exposed to stimuli like water, heat or light. Potential applications of 4D printing include self-assembling medical devices, adaptive robotics, and shape-changing structures.