In Ocarina of Time, you bottle the blue fire and then use it to melt the red ice blocking your path.
I'd recommend having at least 2 to 3 bottles on hand so you don't run out.