I want to load parent term name by tid .I am using this
$term = \Drupal::entityTypeManager()->getStorage('taxonomy_term')->loadParents($tid);
kint($term);
This return a object which is my parent term but I am not able to access term name by this object. Please check attached screenshot of kint($term).