e.g. – example given; introducing one or more examples that illustrate something previously stated
If you get confused between e.g. and i.e. remember:
e.g. means example given
e.g. sounds like the start of the word: EXample
i.e. means in essence
i.e. means in essence or to restate something / in other words
Examples of e.g. in a sentence
He loves Italian sports cars, e.g., Ferrari and Lamborghini.
I like a healthy lifestyle, e.g., eating no sugar and exercising.
There are many ways to cook an egg, e.g., boiled, scrambled, fried and poached.