What the data layer means
The data layer is a JavaScript structure the website itself creates and fills. In practice it is an array called window.dataLayer, and every element added to it is an object of keys and values: the page type, a product identifier, the total of an order, or the name of the action that just happened. Nothing more. No network, no server, no report.
It is worth separating it from Google Tag Manager. The tag manager reads the data layer but does not own it. The array exists the moment a line of code declares it, even with no container installed, and it stays readable for any other tool that wants to subscribe to it. That independence is exactly what makes the pattern useful: engineering publishes the data once, and who consumes it is decided later.
It is not Google Analytics 4 either. Plenty of articles treat the two as the same step, and confused implementations follow. GA4 receives events with their parameters and stores them in a measurement property. The data layer sits before that, inside the browser, and sends nothing on its own. A value can be perfectly available in window.dataLayer and still never show up in GA4 reports because the tag that picks it up is missing.