Electric potential is actually defined as the work done to bring a unit positive charge from infinite distance to a specific point in the electric field where the potential had to be measured.

Informally speaking, it is a quantity describing the energy required for the charge to move to that point where the potential has to be measured and the charge from where it moves from is assumed to be 0 volts.

It can be easily understood with an easy analogy, i.e. ,you can imagine that your pushing a load (a box) of 1kg from point A to point B in your room and at the start you lose no energy but when u displace the load to point B you have lost some energy, this energy was used up by you to push the box to the desired location. So when u come back at point A and look at the box at point B , you can conclude that the box is at 40 Joules (say) away from you. Which means that the point B for that particular load (now assume it as charge)of mass 1kg is at a potential of 40 V from point A . This is just for analogy and doesnt mean the same physically as mass and charge are different. Also for voltage, it is independent of the path taken and only depends on first and last point.

Hope this makes your understanding on voltage a lot easier.