All spaces are in $Top.$ It is trivially obvious geometrically that if $A\subseteq X$, and $f:A\to *$, where $*$ is a singleton, then $X/A\cong X\cup_f *.$
I have never seen a proof of this, however, and since I know some category theory, I did it using pushouts. My work follows. But it seems like a lot of work to show something so trivial so my question is, how could we show this without using category theory?
Consider the following commutative square. I show it is a pushout, from which we may conclude immediately that $X/A\cong X\cup_f *.$
$\require{AMScd} \begin{CD} A @>{f}>> *\\ @V{i}VV @VV{g}V\\ X @>>{\pi}> X/A\end{CD}$
Suppose there are $Z\in Top$ and $\alpha: X\to Z;\ \beta:*\to Z$ such that $\beta f=\alpha i\ .$
Then, of course, $\beta f=z_p\in Z.$ Now, if we define $\phi:X/A\to Z$ by: $\phi([x])=\alpha (x)$ if $x\notin A$ and $\phi([A])=z_p,$ then,
$\phi \pi=\alpha:$
$x\notin A\Rightarrow \phi ([x])=\alpha (x)\ $ and $x\in A\Rightarrow \phi \pi(x)=\phi([A])=z_p\ =\beta f(x)=\alpha i(x)=\alpha (x).$
$\phi g=\beta:$
$\phi g(*)=\phi([A])=z_p=\beta (*)$
The definition of the quotient topology implies that $\phi $ is continuous because $\alpha$ is and $\phi \pi=\alpha\Rightarrow \alpha^{-1}=\pi^{-1}\phi^{-1}.$
$\phi$ is unique by construction.
Therefore, $X/A\cong X\cup_f *.$