Does the Nintendo Switch use cartridges or CDs for games?

The Nintendo Switch uses cartridges.