compound sentence
Step-by-step explanation:
It is a compound sentence because it has two independent clause that are joined together by using coordinate conjunction:
1. I washed the dishes.
2. James took out the trash.
3. coordinate conjunction "while"