Cin.ignore meaning

please explain the role of cin.ignore

cin.ignore
it ignore any thing that is present in the input buffer
like eg take 2 string and input them and then cout them u will see there is nothing in 2nd string
after this just add cin.igonre between these two cin statement u will see the difference