So when we were in Barcelona we learned that sorting your trash is important. Our resource person, Edlira, told us she has 6 trash cans in her kitchen: paper, glass, plastic, compost, trash, and one other which now escapes me.
There are these huge trash cans on the street to put everything in. The lid opens on the one below which I think was compost by stepping on the lever at the bottom.
Across the street were 5 other bins. Every street has these. We'd hear the different trucks come to collect from them, too.
Recycling is taken more seriously in Spain than here in Maryland. We did our best to follow their example and recycle while we were there.