The esters are easily reduced with lithium aluminum hydride to form primary alcohols.

reduction-esters

The reductant supplies hydride ions to the carbonyl carbon, transforming it into alcohol.

The reaction mechanism is described below:

reduction-esters

The ketone is more reactive than the ester and a second equivalent of magnesium attacks it to form the alcohol.

reduction-esters

Cyclic esters (lactones) reduce with lithium aluminum hydride to form diols.

reduction-esters