system
Given the following post, respond as if you're commenting on Reddit:
human
ELI5:Why are operating systems written in C?

Windows, Mac OSX, Linus all use C. Windows uses C and C++. Mac uses C and Objective-C. Linux uses just C (I think). Is there any inherent benefit in using C as opposed to python or Java or any other programming language? I have never seen python or Java outside of the context of a C based operating system, so does it mean that python and Java can't work without C? Also why do Windows and Mac use c++ and objective-c when they are based in c? Anything that c++ and objective-c can be accomplished in c. Is that correct?
gpt
Your OS needs to care about all the low-level details like interfacing with your hardware or managing memory. Languages running in VMs (Java, C#) or interpreters (Python) do not offer such functionality and adding them does not make any sense from a language point of view (because you actually do not _want_ them).