https://doi.org/10.1351/goldbook.M03968
In physical organic chemistry moiety is generally used to signify part of a molecule, e.g. in an ester $\ce{R1COOR2}$ the alcohol moiety is $\ce{R2O}$. The term should not be used for a small fragment of a molecule.