Every desktop computer has an operating system. Most of them run Windows. Some run MacOS, this is why the software on Macs and other PCs is different.
Linux is another operating system, its free and anyone can see the code its written in.
Linux is popular with nerds and programmers since its easier to do some advanced stuff in. Its popular as an alternative to windows since Windows is progressively getting more annoying to use (updates, popups etc).
Linux is used by servers (computers that run websites, like lemmy), and other stuff like smart appliances.
The android Operating System (used by android phones, like Samsung phones) is based on linux.