You can type either ‘yum’ or ‘dnf’, but they decided to keep ‘yum’ to avoid a lot of scripts/documentation from breaking. ‘yum’ is a compatibility layer over dnf that keeps the old command line syntax but uses the fast depsolver, weak dependencies and other new features from dnf.