I.e. is the abbreviation for the Latin term id est, which means "that is."
E.g. is the abbreviation for exempli gratia, which means "for example."
Remember the letter "i" as "in other words," if you want to impress someone by using i.e.
Remember the letter "e" as "for example," if you feel the need to show your erudition with e.g.
That wasn't so hard, was it?