So, in the time I've been programming, I've heard of those two libraries.I've been thinking of converting my game into using one of those two libraries,and I wondered what are the pros and cons of each one.

I was looking on each of their websites, and their features are very alike.

You can do everything that LWJGL can do directly in Libgdx, if you want to.Only reason you would only use LWJGL and not Libgdx is when you already have LWJGL classes and libraries or are not comfortable with the Libgdx ones or whatever

I recommend you start with libgdx, not lwjgl. Libgdx works with lwjgl underneath, and also has tons of helper classes and utilities that will make your life easier. Otherwise, you'll be stuck reinventing the wheel. Especially if you've making a 2d game.

java-gaming.org is not responsible for the content posted by its members, including references to external websites,
and other references that may or may not have a relation with our primarily
gaming and game production oriented community.
inquiries and complaints can be sent via email to the info‑account of the
company managing the website of java‑gaming.org