What is the difference between OPTIMIZE and Auto Optimize?

cgrant
Databricks Employee
Databricks Employee

I see that Delta Lake has an OPTIMIZE command and also table properties for Auto Optimize. What are the differences between these and when should I use one over the other?