Deployment vs StatefulSet?

A Deployment manages interchangeable replicas with rolling updates. A StatefulSet gives each pod a stable name, ordered start/stop and its own persistent volume, for databases and clustered apps.