Terminator Salvation (2009) is a sequel—specifically, the fourth film in the original timeline.
It depicts the Future War against Skynet that was only shown in flashforwards previously. John Connor (Christian Bale) is a resistance leader, not yet the supreme commander. It continues the same continuity (until Terminator Genisys and Dark Fate created alternate timelines).
Not a prequel. A prequel would be set before 1984 (e.g., Skynet's creation).