Short-lived objects are stored in the first generation, generation 0.
The longer-lived objects are pushed into the higher generations, 1 or 2.
The garbage collector works more frequently in the lower generations than in the higher ones.
When an object is first created, it is put into generation 0