i.e. means
that is
e.g. means
for example
Here are both used in the same sentence to clarify:
I want you to have everything I own, i.e., my Rolls-Royce. (this means that the person gets only this thing)
I want you to have everything I own, e.g., my Rolls-Royce, gym membership, XP, etc. (this means that these are some of the examples of things they will get)
In both cases there should be periods after each letter
and a comma after the second period.
ex: e.g.,