A compound subject is two or more subjects joined by and or or.
These subjects share the same predicate.
A child or an adult can ride a bicycle.
The train and bus can take me to work in the morning.
Hot dogs and hamburgers are popular barbecue foods.