For example,
in "Mr. Smith, our math teacher, gave us a pop quiz," the appositive "our math teacher" is set off by commas.