What is the difference between ADFS and Active Directory domain controller?

A Domain Controller holds that actual “Active Directory”, the database of user & computers which are members of the domain.

The ADFS — Active Directory Federation Server — doesn’t not hold that database, but serves as an intermediary from another/different external domain (or similar) then queries a Domain Controller to request authentication for users trying to access that external domain.

source