If $\lim _{x\to +\infty }f(x)=c$ or $\lim _{x\to -\infty }f(x)=c$, then the horizontal line $y=c$ is a horizontal asymptote of the function.