Here's how it works:
* Complain is a verb, describing the action of expressing dissatisfaction.
* Complaint is the noun form, referring to the expression of dissatisfaction itself.
For example:
* Verb: "She complained about the noise."
* Noun: "The customer filed a complaint about the broken appliance."