It’s a bit more complicated than that. Windows 95 used MSDOS to boot, but once it was booted, it completely removed any trace of MSDOS and replaced it with its own MSDOS subsystem. It’s more like MSDOS was a shell on top of Win95, but MSDOS was required to get the kernel loaded.