Prove that if $A,B$ are any such matrices such that $AB$ exists, then $\operatorname{rank}AB \leq \operatorname{rank}A,\operatorname{rank}B$.
I came across this exercise while doing problems in my textbook, but am not sure where to start for the proof of this. I think columnspace might be involved in the proof, although I am not sure.