Adsorption mechanism through FTIR spectral analysis