Common iMac G3 issues include speaker rot, optical drive issues, flyback failure, and yellowed/brittle plastics.
Common iMac G4 issues include issues with the screen hinge becoming loose, although this is rare.
Common iMac G5 issues mainly include motherboard failure due to failing electrolytic capacitors.