A website is a set of files (source code, images, videos, documents) and, in most cases, a database holding the pages, posts, products or customer accounts. To be available at all times, all of this has to be installed on a server: a computer that runs around the clock in a data centre, connected to the internet over a high-speed link.
The principle is simple. Your domain name (such as web-opteam.com) points to the machine that hosts it. When someone opens a page, their browser contacts that machine, which runs the code (PHP for a CMS such as WordPress, PrestaShop or Joomla), reads the data and sends back the page to display. The web host provides the hardware, the bandwidth, the disk space and the software that keeps it all running.
So the domain and the hosting are two separate services: one is the address, the other is where your files live. They can be bought from different providers, and transferring one does not depend on the other.