A generation is a part of the total heap. Typically, objects are placed in a particular generation depending on their age (time since they were created).
See also Heap and Generational garbage collection.