Hi Aleksandra,
It sounds like you're looking at carboxylic acids to me (oxygen next to a carbonyl group). Please let me know if this is NOT the case.
When carboxylic acids donate a proton to form their conjugate base, they can be stabilized through resonance. The reaction is shown here:
https://files.mtstatic.c...Id=APKAJ5Y6AV4GI7A555NA
(very long link, sorry 😔)
On the left are the resonance structures for the reactant (acid). Since oxygen has formal charges in the second structure, and one of them is positive (ick!) -- this is less desirable. On the right (product, conjugate base), resonance stabilization helps to distribute the formal charge. Also, oxygen doesn't mind having a negative charge on it. It's electronegative after all!
Since the conjugate base is stabilized during electron delocalization, then the carboxylic acid --> conjugate base reaction is DESIRABLE. Thus, carboxylic acids are more reactive! 😀
Let me know if that is what you were asking about.