Clarfiication on persistent volume

when we create a PV using localhost, from where does the storage gets allocated?
is it on the master node or the worker node where pods is running?

apiVersion: v1
kind: PersistentVolume
metadata:
name: safari-pv
labels:
type: local
spec:
capacity:
storage: 2Gi
accessModes:
- ReadWriteOnce
hostPath:
path: “/Volume/data”

Thank you

I found the answer. it is on the host on which pod is running, hence the name hostPath