What is the difference between POP3 Vs IMAP servers?

How does webmail and email client differ in the way they function? What is the difference between the Post Office Protocol (POP3) and the Internet Message Access Protocol (IMAP) Mail Server? What is the difference in the way, each of these works? What are the benefits of IMAP? What are its drawbacks?
