Line 4 is a preprocessor directive and is replaced by the contents of the file "iostream".
Line 5 is required, ignore for now.
Line 6 is a function definition. Every function definition consists of the function return type (the range), the name of the function, the arguments to the function and the function body.
Every C++ program must have one and only one function named main. Execution begins on the first executable statement of main.