What is cin

Cin is the object of istream class the stream cin is by default connected to console vinput device.

cin>>a;

it accept the value from the keyboard.