Do you need to buy Halo 3 and Halo 3 odst together?

No you don't , Halo :ODST is a stand alone game that has 2 disks : 1- ODST story mood and a multiplayer mood called firefight 2-A disk that has all the Halo 3 multiplayer maps that you can play WITHOUT the need to have the original Halo 3