What does ‘pain in the ass’ mean?

( np ) Annoyance. Having to redo my homework is a real pain in the ass.