I'm planning to learn C++ but first I need to know what's it's for. Also, can C++ be used to make databases and computer programs that can connect to the Internet?
they are the built-in codes in the language that you can use to create a programs.
Generally, no. The only 'library' that could be considered built-in is the C++ Standard Library itself, but this isn't what people are usually referring to when they use the word 'library'.