What exactly does LibGdx compile to natively?

For example, with ios, I have searched, found this,

http://www.java-gaming.org/index.php?topic=32574.0

Nothing more recent or informative.

From what I could barely understand, Libgdx looked like it compiled to lots of different platforms, including ios. Then I read posts about RoboVM vs Libgdx, and finally Libgdx with RoboVM on the backend (or vice versa, I don’t remember.)

If I’d like to play my game on ios, which do I use? Finally, I read on Libgdx they deprecated one library, and now they use RoboVM. I’m probably answer my own question, but when I see this on the Libgdx site,

“Desktop/Android/BlackBerry/iOS/HTML5 Java game development framework”

That looks to me like I can write something in Java, compile it, and voila, it works on all these platforms. That does not seem to be the case, however. Do I misunderstand? Thanks again for your patience.