Determine if the sentence is simple, compound, or complex.

"We wanted to go to the beach, but we went to the lake instead."

Compound sentence