This is a common point of confusion. Halo 3: ODST—sometimes mistakenly called "Halo Recon"—is actually set at the same time as Halo 3, running parallel to the main game's events. The war concludes at the end of Halo 3, and ODST's story unfolds during that same period.
You play as an Orbital Drop Shock Trooper rather than a Spartan. As for the Recon armor, that's something you unlock by completing the campaign, which is likely where the mix-up comes from.