Code switching occurs when children or adults alternate between two or more languages. The most common way young children mix two languages is by beginning a sentence in one language, then switching to another.