An example of a sentence that contains a compound subject in form but is singular in meaning is:
"Peanut butter and jelly is my favorite sandwich."
In this sentence, "peanut butter and jelly" forms a compound subject, but it refers to a single item (the sandwich) and thus takes a singular verb "is."