Let $(X,d)$ be a complete metric space, and a subset $Y\subseteq X$.
$Y$ is complete iff $Y$ is closed.
Proof