"Rick prepared the food that they had ordered."

"Rick prepared the food that they had ordered."

Explanation

The sentence has an independent clause ("Rick prepared the food") and a dependent clause ("that they had ordered") connected by a relative pronoun ("that").

A complex sentence contains both independent and dependent clauses.