Each topological space $X$ is weakly equivalent to a CW-complex $X'$. That is, there exits a map $f:X'\rightarrow X$ that induces isomorphisms on $\pi_n$ for each $n\in \mathbb N$.
My question is about how deep is this theorem. How can we use it ? and in which context can we replace a topological space by its weakly homotopy equivalent CW-approximation especially that the theorem does not give any information about the correponding CW-space $X'$, no topological information neither combinatorial such as its CW-decompostion! Thank you for your help!
The point is simply that, if you want to prove some property P for arbitrary topological spaces (which can be nasty to work with), and you happen to know that P is preserved by weak homotopy equivalence, it will often suffice to prove P only for CW-complexes (which have a nice, concrete, combinatorial description).
Properties preserved by weak homotopy equivalence include all homotopical and homological data about your spaces. So, for instance, in order to prove the Künneth formula for general spaces, it suffices to prove it for CW-complexes only.
If you prefer, you can interpret the role of this theorem in the context of algebraic topology as a whole, simply by asking yourself "why do I care about this?". Here are some example ways you might read it:
Ultimately, it doesn't matter how you view it; the effect is much the same. But I've often found putting it in context helps you see the bigger picture. The above are all grossly oversimplified viewpoints, but they're probably all at least part of the truth, and perhaps one of them is a way of thinking about it that you hadn't encountered before.