Advantages of Ant?

While browsing this forum I’ve come across users mentioning the build tool Apache Ant. I’m wondering what the advantages are of using Ant in Eclipse over the default setup of pressing the ‘Run As’ button the default export…

Apologies if this is the wrong board.

Thanks!