If a point lies on the z-axis, then find its x-coordinate and y-coordinate.
X and y coordinates of a point are its distance from the origin along or parallel to the horizontal x-axis and y-axis. To measure the x and y coordinates, you must move either to the left of the origin or to its right. In case of a point on the z-axis, you do not move to the right or to the left of the origin. Hence x and y coordinates are 0 for a point on the z-axis