Another way to say "an eraser is for correcting a mistake." is "correcting a mistake is what erasers are for."