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...VVUiXzqoD6-1GUjA1ZirJLLy~-5zyY1p4jZRJewhaDBchtGIa1PfQp-ZmH4jIfqTZhU4hGRvlRPlLgIqEOE5-W1zpf2c4OrcOktE37f~gt5pzKqmlGkG3E3jKMYnC8nXiTm~c_&Key-Pair-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.