CentOS is a free downstream rebuild of the commercial Red Hat Enterprise Linux distribution and Debian is the free upstream distribution that is the base for other distributions including the Ubuntu Linux distribution.