A abbreviation for the Latin term “exempli gratia”, which means “for example”. Most people just use the abbreviation “ex.” instead, but e.g. is quite common too.
Example: In our Architectural History class, we were shown examples of common brick patterns, e.g. running bond, Herringbone, Flemish bond and stack bond.