A subspace $Y$ of a Banach space $X$ is complete iff the set $Y$ is closed in $X$.
Proof:⇒) If $x\in\mathrm{cl}(Y)$ there exists a sequence $x_ n$ in Y which converges to x and as a consquence is a Cauchy sequence (in $X$ and $Y$). But Y is complete, so xn converges in Y to a point $x′$. According to the uniqueness of the limit, $x=x′\in Y$. That is, $cl(Y)\subset Y$ and hence, $Y$ is closed.
⇐) Let $x_n$ be a Cauchy sequence in $Y$. The limit $x$ of $x_n$ exists in $X$ because $X$ is complete. As $Y$ is complete, contains all its limit points, so $x\in Y$ and so, $Y$ is complete.
It may be obvious but i'm not getting Why $x_n$ is a cauchy sequence??