fill in for somebody

To fill in for somebody is to do their work because they are away.
Examples of use:
a) Can you fill in for me while I’m on holiday?
b) Go and have your lunch break. I’ll fill in for you.
c) Janet is ill. I need someone to fill in for her.
d) Thank you for filling in for me and teaching my class.