A compoud word is made up of two words.
The two words are put together to make a new word.

tree + house
treehouse
We have a treehouse in the backyard.

rain + boots
rainboots
I wear rainboots in the rain.

bed + room
bedroom
I share a bedroom with my brother.