Used in psychology, training, education, and gaming contexts for acting out a role. Often refers to structured exercises or simulations.
We did role-playing in the training and practiced customer service.
In psychotherapy, role-playing is sometimes used to draw out the patient's emotions.