To understand the concepts of Distros you need to understand the fundamentals of Software Builds.
Linux or Windows or Any Operating System that doesn't matter ships Distros. They are a Conceptual Component Systems.
We Will talk now more about Linux as there it is often more logical as we have a larger set of possible distros.
The most Linux Distros got diffrent Compilers and Package Managers thats what makes them a distro at the core they use the same
Core Kernel which they may or may not adjust to work with the rest of the distro that they ship.