Talking to my computer through Serial

"You can read the characters in with Serial.read and store it in either a String or array[], and use either IF statements or case statements to trigger a response."

Thats the part Im confused about, can you tell me a bit more about the string or array?