Code-switching refers to alternating between two or more languages or language varieties in a single conversation. It occurs when multilingual speakers incorporate elements of the other languages they know into the one they are primarily using. Code-switching happens both intersententially, between sentences, and intrasententially, within sentences. It is governed by syntactic constraints and tends to occur at points where the grammar of the languages aligns. Borrowing involves adopting words from another language, while code-switching can happen at the syntactic level or above.