This is known as esterification. In a condensation reaction, two molecules join and produce a larger molecule whilst eliminating a small molecule. During esterification this small molecule is water.