Input vs error

What is the difference between cin and cerr because i got the same output from both .please illustrate the difference with example.