Does the sentence contain a compound subject, compound predicate, or both?

My brother and I went to the park and played on the jungle gym.