If a function $g$ is continuous at $c$ and a function $f$ is continuous at $g(c)$, then the composite function $(f \circ g)(x)=f(g(x))$ is continuous at $c$.