is it safe to delete unattached images on wordpress?

* I have many unattached images can I delete them?
*is there a way to determine which auto-generated size my theme creates is useless and I can delete them?