Variation theory is a framework in sociolinguistics that examines how language varies and changes across different social groups, contexts, and situations. It emphasizes the idea that linguistic features are not static but rather dynamic, influenced by factors such as region, social class, ethnicity, and gender. This theory helps in understanding how these variations reflect broader social patterns and relationships.