A vertical asymptote is a vertical line at which the function approaches infinity or negative infinity. It occurs when the denominator of a rational function is equal to zero, making the function undefined at that point. The graph of the function will have a vertical asymptote at the corresponding x-coordinate of the zero of the denominator.