Gang of four patterns includes 23 design patterns in 3 categories.
Creational is all about different ways to create objects. Structural is about relationships between these objects Behavioural is about the interaction or communication between these objects.
THREE TYPES OF RELATIONSHIPS IN UML
Momento pattern is used to implement undo mechanism.