containing within the same carbon skeleton a carboxylic group or a thio analogue, or a derivative thereof, and a carbon atom having only two bonds to hetero atoms with at the most one bond to halogen