Frogspawn is obtained when two frogs breed using slimeballs, producing a cluster of eggs on the surface of water blocks. It naturally hatches into tadpoles after a short time.
Frogspawn cannot be obtained as an item, but it can be relocated by picking up tadpoles in a water bucket after they hatch. Tadpoles grow into frogs, with their variant determined by the biome they mature in.