Difference is in the type of transistors used, MOSFETs vs BJTs.
Used to be that CMOS was low power, TTL was high speed.
Used to be that CMOS was more susceptible to electrostatic damage, TTL less so.
CMOS less power hungry than TTL, with CMOS power needs based on switching speeds, with TTL power usage more steady state.
Nowadays, CMOS used for a lot more stuff, using one vs the other more a matter of what functionality you want.