Some properties of affinity and applications