Units are divided up into seven distinct classes, with each of these classes playing an important role in your armies, from mounting aerial assaults against vulnerable troopers to providing ranged support for your melee units. Let's take a more detailed look at each unit class :
Troopers - The heart of any army, troopers are made up entirely of infantry, consisting of regular troopers, grenade troopers, anti-air troopers and mounted troopers. Regular troopers carry hand held blasters, providing ranged support for melee units such as the Jedi from a distance. Grenade troopers launch thermal detonators from mobile grenade launchers, taking down organic units with ease but ineffectual against buildings and mechs. Anti-air troopers provide protection to moving armies against enemy starfighters. Mounted troopers are armed with flamethrowers and so attack at a close range. They also have massive hit-points to enable them to take shots while closing in on the enemy.
Mechs - More powerful than troopers, mechs consist of strike mechs, assault mechs and mech destroyers. Strike mechs are swift units with long range and high hit-points. Unfortunately, they don't do significantly more damage than troopers. Assault mechs are armored units who sport heavy armor, deal major damage and have enormously high hit-points. Mech destroyers, which are basically anti-mech units, deal greater damage to mechs rather than troopers.
Heavy Weapons - Carrying out sieges and providing support to your ground forces, heavy weapons such as artillery, anti-air mobiles, and pummels, are an essential portion of your army. Artillery provides heavy support for your troopers and mechs, and are devastating against buildings. Anti-air mobiles provide an effective defense against hostile starfighters. Pummels are useless against troopers and mechs, but are devastating against buildings, leveling them in mere seconds.
Jedi - Graceful with the lightsaber and skilled in the ways of the Force, the Jedi are some of the most powerful infantry melee units available in a general's armies. While they lack any ranged combat abilities, they are absolutely deadly in melee situations against enemy troopers and mechs. They can be recruited only from Jedi and Sith temples. The Rebel Alliance, Royal Naboo, Wookiees and Gungans employ the services of Jedi Padawans, Knights and Masters, while the Galactic Empire and Trade Federation will recruit Sith Apprentices, Knights and Masters.
Aircraft - Performing aerial assaults against enemy forces and bases, aircraft include starfighters such as fighters, bombers and air transports. Fighters are able to attack both ground and air units, but are really designed to attack hostile air units quickly and precisely. Bombers on the other hand, are more geared towards the mass destruction of ground troops. They are also perfect for taking out buildings and walls quickly. Air transports serve to move your forces from one area to another quickly. Die-hard Star Wars fans will likely appreciate these units the most, since they include famous starfighters such as the Z-95 Headhunters, X-Wings, Y-Wings, TIE Fighters, TIE Interceptors, TIE Bombers and other such memorable starfighters.
Ships - Providing support to ground forces from the relative safety of the sea as well as battling in spectacular naval battles, naval units include utility trawlers, frigates, transport ships, anti-air destroyers, destroyers and cruisers. Utility trawlers fish for food, construct Aqua Harvesters, and in the case of the Gungans, construct underwater prefab shelters. Transport ships allow your armies to cross broad bodies of water. Frigates are nimble, ranged units who support other naval units such as destroyers and cruisers as well as map out the seas. Anti-air destroyers provide protection against potent starfighter attacks. Destroyers are melee units who are very effective against enemy ships. Cruisers provide support to ground forces from the relative safety of the sea, raining artillery shells on enemy forces and bases.
Fortress Units - The most potent unit of each civilization can be constructed at the fortress. Each civilization has a unique unit. The Galactic Empire employ powerful Dark Troopers to storm through the rebel forces. The Rebel Alliance has Airspeeders to counter the empire's immensely powerful AT-ATs. Faamba Shield Generators are employed by the Gungans to protect their forces from dangerous energy blasts. Berserkers lead the charge of the Wookiees' armies against their oppressors. The Royal Crusaders fight for the Royal Naboo against the greed of the Trade Federation. The Trade Federation construct the powerful Destroyer Droids to reign chaos and destruction down on the Naboo. Bounty hunters can also be recruited here to counter the strength of the Jedi. Cannons are also constructed here, providing armies with great destructive abilities, especially against the buildings and walls of enemy bases.