What is the difference between y-axis and x-axis?

The main difference between the y-axis and the x-axis is their orientation on a graph. The x-axis is horizontal and represents the independent variable or the input. It is typically used to represent time, categories, or any other quantitative variable. The y-axis, on the other hand, is vertical and represents the dependent variable or the output. It is typically used to represent measurements, quantities, or any other variable that is affected by the independent variable.