In case of ketone and esters, first, we have to protect ketone then perform reduction of ester otherwise ketone gets reduced first.
Here LiAlH4 is used as a strong reducing agent and reduces the carbonyl carbon atom to the corresponding alcohol group.