What is the method ".getChildren()" used for in Java? : <p>For example if I were to add a line of code such as-</p>

<pre><code>hbox.getChildren().add(calculateButton);
</code></pre>

<p>what significance does .getChildren hold and what happens if it not used in a program?</p>
