We know that any point in the plane can be represented as an ordered pair $(a, b)$ of real numbers, where $a$ is the x-coordinate and $b$ is the y-coordinate.For this reason, a plane is called two-dimensional.
But why the equation of plane is $ax+by+cz+d=0$ which has 3 coordinates?
The dimension is not related to the total number of variables, but rather to the number of variables you can freely choose (degrees of freedom). For instance, if you pick some values for $x$ and $y$, you cannot freely choose the value of $z$: it will be determined by the equation.
For instance, the points that belong to the plane $x+y+z = 1$ can also be described as points of the form $$ (x,y,z) = (0,0,1) + t (1,0,-1) + s(0,1,-1), \quad t,s \in \mathbb{R} $$
So, choosing a point in that plane, amounts to deciding on the value of $t,s$, hence dimension 2.