A domain name is the address of your website. Think of it like a plot of land where you can build your house. It’s what your visitors type into their browsers to access your website.
A website is the actual house that you build. You can’t build a website without a domain name.