$\dfrac ab= \dfrac cd$ is true precisely when $ad = bc$.
As an example $\frac 26 = \frac 39$ is true because $2*9 = 3*6$.
$\frac 26$ can be thought of as dividing a pie into $6$ equal slices, then taking two of them.
Similarly $\frac 39$ refers to dividing a pie into $9$ equal slices, then taking $3$ of them.
In this particular scenario I'm struggling a bit to understand if the expressions $2*9$ or $6*3$ represent any meaningful quantities, like total number of slices in both pies etc. I would appreciate any help. Thanks!

Suppose you cut the pie into $6 \cdot 9 = 54$ slices, and call each of those a "unit slice". Then both $2 \cdot 9=3 \cdot 6$ would denote the same amount of "unit slices", which is $\dfrac{18}{54}=\dfrac{1}{3}$ of the full pie.
Without the pie analogy, just note that $\,\dfrac{2}{6} \color{blue}{\cdot \dfrac{9}{9}}=\dfrac{18}{54}=\dfrac{3}{9} \color{blue}{\cdot \dfrac{6}{6}}\,$.