Going to give my ipad to a grandyoung'un....I need to totally wipe it clean of all info. before I give it away.

Anyone know if this can be done, safely, and how do I do it???