SI2 Technologies interview question

What is the difference between a trigger and a workflow in Salesforce?