What does ‘suck’ mean?

suck

( v ) To be bad. You got a D on math? That sucks!