abbeyrd84:
Joseph H. Woods who served in the 18th Mississippi Infantry (CSA) is the same Joseph H. Woods who served in the 3rd Maryland Cavalry (USA), that is, the same man.
He switched sides, from Confederate to Union.
He applied for a pension based on his service in the 3rd Maryland Cavalry (USA).