The process of learning a second language, including the developmental stages and cognitive processes involved.