Which of the following sentences is punctuated correctly?

A.
Lavender is a fragrant herb that is used to add flavor to many foods "such as tea and chocolate."
B.
Lavender is a fragrant herb that is used to add flavor to many foods, such as tea and chocolate.
C.
Lavender is a fragrant herb (that is used to add flavor to many foods) such as tea and chocolate.
D.
Lavender is a fragrant herb—that is used to add flavor to many foods—such as tea and cho

1 answer

The correctly punctuated sentence is:

B. Lavender is a fragrant herb that is used to add flavor to many foods, such as tea and chocolate.

This sentence correctly uses a comma before the phrase "such as tea and chocolate," which provides examples of the foods to which lavender adds flavor.