Salesforce interview question

What is the the difference between REST API and SOAP API?