I use yellow carpenter's glue for that.
Glues come in many different colours.
My two favorite glues are Shoe Goop and Gloozit. They are both silicone type glues .
Thick glues are called 'gel' glues.
Almost all glues are dangerous for the eyes. Particularly so are the cyano-acrylites, (krazy and super glues )
Some glues, such as PVA glues in particular, can absorb water.
CA is the 'family name' for super and crazy glues and other cyanoacrylite glues.
There are thousands of glues with many different ingredients. Most of the modern glues have chemical bases.
Most glues would be insulators. A few specially formulated 'glues' are conductors.
Since most glues are water-based it will freeze. However it will never really turn back into its original state. It's best to not freeze glue and most glues say not to on the back of the bottle.
There are many thousands of glues, far too many to tell you what they are all called here
Traditional glues made from plant or animal materials can be eaten by fungi. However most modern synthetic glues made from synthetic polymers cannot support the growth of fungi.
The majority of plastics in plumbing are joined by glues specific to those certain plastics. There are at least 8 different PVC glues, CPVC glues and 2-3 ABS glues. Plastics in the acrylic industry are also joined by a variety of glues and compounds specific to certain plastics. Some plastics are 'hot air welded' . -Very few plastics are joined by mechanical means.