In algebra, y is often used interchagably with x as a variable. However, in precalculus and calculus, or in any branch of math that uses functions, y is often used as the dependent variable, as opposed to x, which is the independent variable. In other words, x is the input and y is the output.

Also, in graphing, y is usually the vertical axis. Of course, all this is nothing more then convention.