To substitute for another person in a specific role or task, especially temporarily; originally used of a baseball player who bats in place of another.
2.
USGeneralinformal
To stand in for someone or fill in at short notice in non-sporting contexts, performing duties that another person normally performs.