The process of learning a second or foreign language, including the cognitive, social, and cultural factors involved.