This is a list of major versions of Android.
This historical retrospective shows all major versions in action. And there's more detail on the Android version tree on Wikipedia.
"CM" refers to LineageOS (formerly CyanogenMod), the community build of Android for more devices"