Whenever a player taps a land for mana, that player adds one mana of any type that land produced.
Heartbeat of Spring doesn't care about any restrictions or riders your lands put on the mana they produce, such as those of Unclaimed Territory and Cavern of Souls. It just produces one mana of the appropriate type, with no restrictions or riders.
If you tap a land for more than one mana, you choose one type that was produced and add one mana of that type.
The types of mana are white, blue, black, red, green, and colorless.