I come across following theorem:
Universal property of subspace topology: $X$ is any topological space $Y\subset X$ $Z$ is any another topological space if there is continuous map $g:Z\to X$ such that $\operatorname{im}(g)\subset Y=\operatorname{im}(i)$ where $i:Y\to X$ inclusion map. then there exist continuous map such that $f:Z\to Y$ such that following diagram commutes and g realises $Z$ as subspace of $X$ iff f realises $Z$ as subspace of $Y$:
I do not understand why such theorem is required?
If some one gives me motivation about such theorem named as universal theorem It would be very useful.
Any help will be appreciated
