When deleting a summary task, it and all its children will be removed from gantt chart. If the deleted task is the last child of a summary task, that summary task will become a regular task.