I saw in books that reaction between dicyclopentadiene and maleic acid result in dicyclopentadiene-maleat ester. And they said this is and ene reaction but i couldnt understand how this reaction is subset of ene reaction and how ester group is made. because based on ene reaction we will have one carbon with two hydroxy group. how this result in ester group? Thanks if you could help me.