The string type stores sequences of characters like "hello" or "C++". You need #include <string> at the top of your file to use it. Unlike char, which holds one character, a string can hold any amount of text.
Example: string name = "Alice"; stores five characters. You write string literals in double quotes: "text". Single quotes like A are for char, double quotes are for string.
Do not mix them.