E.g. stands for exempli gratia and means “for example.”
I.e. is the abbreviation for id est and means “in other words.”
Remember that E is for example (e.g.) and that I and E are the first letters of in essence, an alternative English translation of i.e.