The Definition of Done for a Sprint is the Goal. For a User Story, it is the Acceptance Criterias. And for a Task, it is the stability.