how it's possible to load nodes by taxonomy terms Here im loading nodes by "type" article, i want to call nodes by another id , but this id is in another table, should i join tables , or it is some other way to do this

$type = "article";

          $build = array();
          if ($nodes = node_load_multiple(array(), array('type' =&gt; $type))); {
              $build['nodes'] = node_view_multiple($nodes, 'teaser');
          }
In Drupal 7 conditions are deprecated, it is preferable to use EntityFieldQuery to retrieve a list of entity IDs. You can see more here: 
About EntityFieldQuery

In this answer you can see an example: What&#39;s the proper use of EntityFieldQuery?

In Drupal 8 you can do something like that:

$nids = \Drupal::entityQuery('node')
-&gt;condition('your_taxonomy_field', 'your taxonomy id')
-&gt;execute();
$nodes = \Drupal\node\Entity\Node::loadMultiple($nids);


I hope it helps