Bubble nests, also called foam nests, are created by some fish and frog species as floating masses of bubbles blown with an oral secretion, saliva bubbles, and occasionally aquatic plants, or an area for egg deposit attached at the bottom. Fish that build and guard bubble nests are known as aphrophils. Aphrophils include gouramis (including Betta species) and the synbranchid eel Monopterus alba in Asia, Ctenopoma (Anabantidae), Polycentropsis (Nandidae), and Hepsetus odoe (the only member of Hepsetidae) in Africa, and callichthyines and the electric eel in South America. Most, if not all, fish that construct floating bubble nests live in tropical, oxygen-depleted standing waters. Anabantidae are the most commonly recognized family of bubble nest makers. The nests are constructed as a place for fertilized eggs to be deposited while incubating and guarded by the male until the fry hatch.
Bubble nest Wikipedia
Bubble nests are built even when not in presence of female or fry (though often a female swimming past will trigger the frantic construction of the nest). Males will build bubble nests of various sizes and thicknesses, depending on the male's territory and personality. Some males build constantly, some occasionally, some when introduced to a female and some do not even begin until after spawning. Some nests will be large, some small, some thick.
Various stimuli have been shown to onset the construction of Bubble Nests, such as rapid changes in temperature, barometric changes, fluctuations in rainfall, various fish tank materials, and presence of other males or females.
The nests are built by the male (sometimes females) and their size, position and shape depends on the species. They are often built near an object that breaks the surface of the water, which forms a base for the nest.
Bubble nests created by male Siamese fighting fish (Betta splendens) are made from air bubbles coated with saliva to increase durability. The creation of the bubbles is audible and often frantic.
Most, if not all, species of bubble nesting fish continue parental care after construction of the floating bubble nest and spawning. After spawning the eggs either float up into the bubble nest, or (in the case of sinking eggs) are carried there, and subsequently lodged into the nest by one or both parents. Following this, the male protects the brood by chasing away the female (if not a species in which the female also guards the nest) and any other intruders, concentrating on the eggs in the nest, retrieving any eggs or fry that fall from the nest and keeping the nest in repair; only a handful of bubble nest makers (notably some snakeheads) have females participate in bubble nest maintenance. One or both parents will guard the eggs constantly until the fry hatch after 24–48 hours and be suspended from the nest. The newly hatched fry will then be tended by the parent fish until they are independent, which can take from a day to several weeks depending on the species.
Several different frog clades include species that make bubble nests. Frogs use bubble nests as a form of protection for their eggs.