Agni-3 is a ballistic missile (surface-to-surface), while Akash, Astra, and Nag are all surface-to-air missiles (SAM). The key difference is that ballistic missiles follow a ballistic trajectory toward ground targets, whereas SAMs are designed to intercept aircraft or other missiles, making Agni-3 the odd one in this grouping.