Electrostatic field is a conservative field which means work done by an electrostatic field in moving a charge from one point to another depends only on the initial and the final positions and is independent at the path taken to go from one point to the another.