A data source reads information through a provider. A resource block declares an object Terraform should manage. Those responsibilities are different even when both return similar attributes.
Reading an existing shared network should not make this configuration responsible for destroying it. A data reference can also create a dependency on the result being read. Provider arguments and the timing of a read matter when some values are unknown until apply. The local lab uses a small supplied network lookup, so you can practice connecting its returned value to a service without claiming a real cloud discovery operation.
A data block reads the shared object; it does not declare ownership of it.