Persistent Systems interview question

when we use undelete in trigger