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: Block ciphers can also be used to produce keystreams.