Aggregation in UML is represented by a line with a hollow diamond at the container end. The hollow diamond distinguishes aggregation (has-a relationship) from composition (solid diamond) and simple association (no diamond). Aggregation implies a whole-part relationship where the parts can exist independently.