When installing the lxd snap, the appropriate core snap is installed by snapd.
Ubuntu releases that ship with snaps preinstalled will ship with a preinstalled core snap, others will not.
That core snap includes a minimal read-only copy of Ubuntu which all snap use as their root filesystem, it doesn’t include any running daemon, it’s literally just a bundled bunch of files that are needed by the snaps.