For example, when they are pretending to be a clerk in a grocery store, or a doctor, or a teacher, they will use language in a way that reflects that role.
Its interesting to see this happening! When my daughter plays, the way she talks changes and changes even more so when playing by herself and trying to be many different characters.