Yes, they are completely different and extremely common, so you should know how to tell them apart and how to use them.
Source: Linda Neuman, http://ancienthistory.about.com/od/abbreviations/f/ievseg.htm, http://grammar.quickanddirtytips.com/ie-eg-oh-my.aspx