You are measuring the actual data rate achievable between a server out there on the internet and the device on which you are running the test. That data goes through your modem and router. The speed can be limited either by the performance of the internet connection your ISP provides or by your own devices that are in the path