Affinity refers to a natural liking or preference for something, often used in relation to relationships and connections between people. It can also refer to an inherent ability or tendency towards a particular skill or talent. In chemistry, affinity is the attractive force between two different molecules or particles.