The yellow stuff bees drop is propolis, a mixture of bee saliva, beeswax, and substances from plants and tree buds. They use propolis to seal small gaps in the hive.