To do a task that one is not ordinarily expected to do because there is no one else to do it.
To replace someone