I.e. and e.g. are both Latin abbreviations. 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.
简单来讲,e.g 的意思是:举个例子;i.e 的意思是:换句话说。
参考:https://www.grammarly.com/blog/know-your-latin-i-e-vs-e-g/