What does ‘It sucked’ mean?

It was bad/poor quality. Eg. “That movie sucked.”