The measurement protocol is a way to send data to Google Analytics so that you can collect the data, report on the data and the data you can send from your own server that is not part of the HTML.
The measurement protocol allows a developer to create some code to send data via an http post request, send the data to Google Analytics for storage.