How does a Website Work?

A website is stored on a server. When a person wants to access it, the internet provider connects their computer to the server which sends them the data of the website they wish to view.