Soldier (Earth-2356)

A soldier, also referred to as a warrior, is an individual who fights, usually in an army or navy, in defense of an organization, government, or ideal. Soldiers are well trained and organized to fight and some are in elite units or special forces. Soldiers are generally the front-line fighters while officers serve as commanders and strategists. Infantries are made up of soldiers.

The Galactic Republic was protected for centuries by the Jedi Order who served as peacekeepers but maintained they were not soldiers, despite their employment as such by the Republic and their allies. The Republic was also protected by the Judicial Forces, while the Galactic Senate on Coruscant was protected by the Senate Guard and its elite Commandos. Member worlds like Naboo and Mon Cala typically had their own armies, such as the Royal Naboo Security Forces, the Gungan Grand Army or Mon Calamari Guard, on top of their own sects of the Jedi Order for planetary protection and law enforcement.

Source

 * https://starwars.fandom.com/wiki/Soldier