When people complain, they let others know they are unhappy about something.
I complain when my mom says it's bedtime.