A frog floats in the water to lay its eggs and then exposes its head to the surface of the water.