Original: Usually each character in the keystream is either added, subtracted or XORed with a character in the plaintext to produce the ciphertext, using modular arithmetic.
Simplified: (Such wrapping is called modular arithmetic.)