In this paper, we characterize the bonudedness and compactness of weighted composition operators from weighted Bergman spaces to weighted Bloch spaces. Also, we investigate weighted composition operators on weighted Bergman spaces and extend the obtained results in the unit ball of $mathbb{C}^n$.