I’m learning about the partitions of Android and in one place, they say that the system partition contains the Android framework (https://source.android.com/docs/core/architecture/partitions)
system
partition. This partition contains the Android framework.
while on another page, they say that it contains the Android operating system and ROM (https://web.archive.org/web/20221206114048/https://www.codelivly.com/android-partitions-explained-in-simple-terms-layout/)
/system: This partition contains the Android operating system.
So, are the Android framework and the operating system the same thing? Is framework another word for an operating system? No matter how much I google it, I can't find a direct answer to this question.
system
/vendor
partitions contain all the executable code, shared libraries, configurations etc. which the Android OS as well as the third-party apps need to run.