Aggregation and composition are types of associations in UML. Aggregation represents a whole-part relationship where the part can exist independently of the whole. Composition is a stronger form where the part cannot exist without the whole and is destroyed when the whole is destroyed. The key difference is that in aggregation the part may continue existing after the whole is destroyed, but in composition the part is destroyed along with the whole.