Transpose of matrix $T$ denoted by $T'$ is a matrix that holds this: $(T' l , x) = (l, Tx)$ where $$ T: U \mapsto V , x \in U, $$ and $l$ is in dual of $V$, which is $V'$.
I kinda understand that $(T')^{-1}$ is the change of basis from dual $U$, $U'$ to dual $V$, $V'$ such that the pairwise multiplication of transformed members of $U$ and $U'$ stays same.
But still I don't understand why such a transformation $T'$ should exist and is unique.
You don't need bases for this. For fixed $l\in V'$, the map $x\mapsto (l, Tx)$ is a linear functional on $U$, because it's a composition of two linear maps $x \mapsto Tx$ followed by $Tx \mapsto (l, Tx)$. So by definition of dual, there is a unique element of $U'$ which is called $T'l$ that acts on $x\in U$ like $(l, Tx)$, in other words $(T'l, x) = (l, Tx)$ for all $x \in U$. It remains to show that $l \mapsto T'l$ is linear in $l$. This holds because $(,)$ is bilinear - which is proven using the definition of scalar multiplication and addition in the dual. Note that $T'$ is a linear map from $V'$ to $U'$. The basis-free formulation is more helpful in infinite dimension.