What is Syslog and how does it work?

What is Syslog and how does it work?