Most electrical work is governed by the same broad principles wherever it happens. Pools are the exception. AS/NZS 3000 sets aside a whole section for them, because water changes the arithmetic of an electric shock completely.
Dry skin has resistance. Wet skin has much less. A person standing in a pool is immersed, barefoot, in contact with a large conductive body of water that may itself be touching metal: ladders, handrails, reinforcing steel, fencing. A voltage far below what would make you flinch on land is enough to stop a heart in that situation. As the regulators put it, a very low voltage is sufficient to present a serious hazard to a person immersed in water.
So the standard does two things. It restricts what electrical equipment may exist near the water at all, using a system of zones measured out from the pool’s edge. And it requires that all the metal in and around the pool be tied together electrically, so there is no voltage difference for a swimmer to bridge.
Both of those get missed constantly, usually by well-meaning renovations, landscaping done after the pool was signed off, or equipment swapped out by someone who was not thinking about zones. That is most of what we get called to fix.