Figure 2. Lactone formation

Lactones are esters in a ring structure.