Service with number of pod

hi,
i like to understand.

When a service is created to connect to pod,then this service is create on master server or in the worker where the pod run?

i see that metadata label is used to connect service with pod.right?
if we like to connect a service with a pod then we use the same label name in service and in pod.

Cluster information:

Kubernetes version:
Cloud being used: (put bare-metal if not on a public cloud)
Installation method:
Host OS:
CNI and version:
CRI and version:

You can format your yaml by highlighting it and pressing Ctrl-Shift-C, it will make your output easier to read.