What do you mean by thread when deleting mesages samsung s3?

The "thread" is the entire string of messages between you and the other contact(s). If you delete the thread, all of your messages between each other will be deleted.