fetching taxonomy tree from database from query
This is a way to do it!

$vocabulary = taxonomy_vocabulary_machine_name_load('Services');
$terms = entity_load('taxonomy_term', FALSE, array('vid' =&gt; $vocabulary-&gt;vid));