'washing machine' is a compound noun. I assume you want to know what the first component is, not the whole thing. washing occurs before the noun machine , where an adjective normally occurs, so I'd call it a participle.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.