Workflow only provides us 4 types of automation action to perform but with the help of trigger, we can customize our action like deleting a record, which is not possible with workflow.
Workflow is automated process that fired an action based on Evaluation criteria and rule criteria. We can access a workflow across the object. Trigger is a piece of code that executes before or after a record is inserted or updated.