In these two sentences:
Il bambino sta per mangiare la banana.
Il bambino mangerà la banana.
If I understand it correctly, both seem to express "The boy will eat the banana" or "The boy is going to eat the banana".
However, I don't understand what is the difference, if any, between the two sentences. How can I use them properly?