take over a class for an absent teacher ;
例句:
He substituted for the teacher who was ill.
他给生病的老师代课.
Dick acted for the teacher.
狄克替那位教师代课.
The teacher's ill, so a substitute is teaching today.
那位教师生病了, 因此今天由代课教师在教课.