Simply put, Linux is offspring of Unix or something which happened after Unix and inspired largely by Unix. Ubuntu is one of the many distributions available for Linux. A distribution is something anyone can create, just need to grab Linux kernel and make Linux server or workstation OS distribution out of it, of course you need to know OS concepts and be able to understand kernel to some good extent.
Hope it makes sense.