Taxonomy_get_Parents Drupal 8

$storage = \Drupal::service('entity_type.manager')->getStorage('taxonomy_term');

$parents = $storage ->loadParents($term->id());
iLiar