system()
is a call to the OS command line, "cls" is a command on some operating systems that clears the screen.
In my opinion use of the system() function should be avoided, it doesn't really add anything to the operation of the program that can't be done other ways or just shouldn't be done and does make the program very non-portable.