They're not exactly the same- compressing is re-squishing the sound to be a different shape, limiting is puttin' a roof on the sound so dynamically it goes flat and stays always at a certain loudness (generally LOUD, and on the whole track)
You can put a point on the front of stuff by compressing and having a slow attack, and you can squish stuff gently with compression by using a really low ratio. Limiting ain't gentle, the point of it is that it's just about an infinite ratio, and you get thus loud and NO louder- it's either off or on. Compression you can have sorta-kinda-on just to make stuff a lil' fuller.
Mostly it's about whether stuff is kinda empty and pointy, or whether it's fuller and thicker. Or if it's with a slow attack and steppin' on dynamic stuff, it can be there to hold down the way the sound blooms out, and keep it trapped in there. It's mostly about reshapin' things, what you do is you take something like drums or bass and play with it and do crazy settings on threshold, attack, release just to see what happens. You have to play with it and try 'wrong' settings to understand how it really works
