Contrastive analysis is the systematic study of two languages to identify their structural differences and similarities. It was originally used to establish language families but was later applied to second language acquisition in the 1960s. The contrastive analysis hypothesis claimed that elements similar between a learner's first and second language would be easier to acquire, while differences would be more difficult. However, empirical evidence showed this could not predict all errors, and some uniform errors occurred regardless of first language. This led to the development of error analysis and the concept of interlanguage, seeing second language acquisition as its own rule-governed linguistic system rather than an imperfect version of the target language.