Why were people able to say,"the sun never sets on the British Empire"?

Because the empire included countries supposedly all around the globe.