I was driving and my car just died?

when i jump it she starts but when i take the cables off she dies???help please

You probably need a new alternator - and probably a new battery.

that what i thought thank u could it really be any thing eles the car was running fine earlier today it happened out of no where

Car batteries die suddenly. They short out internally and sometimes there isn’t much warning. Get a new battry, and have the alternator and charging system checked out.

That’s pretty much it. UncleTurbo (below) is right about the sequence - get a fully charged battery in there and then have the charging system checked. If you’re lucky it is just a sudden battery death.

Have the alternator and the battery tested. One or both is probably bad.

Don’t guess, test. Most parts stores will test these components at no cost.