What is Error 502 Bad Gateway?

As you know, to view a website, your browser has to send several requests to different servers, which then send you the content you are…