What is the meaning of Role-playing?

Action in which a person takes on a role (as that of an actor) and acts out being that character.

present participle and gerund of role-play

Source: wiktionary.org