In chemistry, a homologous series is a series of organic compounds with a similar general formula , possessing similar chemical properties due to the presence of the same functional group, and shows a gradation in physical properties as a result of increase in molecular size and mass.
Thus the esters and the alkanoic acids don't belong to the same homlogous series because they don't possess the same functional group.