What is the meaning of Substituting?

present participle and gerund of substitute

Source: wiktionary.org