Not understanding the proper concept

actually i am not able to understand the proper use of w here? can you please explain the w in short way

hi kushal;
we have is a non-negative “weight” associated with training point xi.
For xi is lying closer to the query point x, the value of wi is large, while for xis lying far away from x the value of wi is small.
so as far we go from observation point the value of w decreases for elements far from point