Moss is a plant rather than a fungus. Its establishment depends on suitable surfaces and moisture, so check the growing conditions before adding a cover.
Moss is a plant
Moss does not develop from fungi or bacteria. It is a small, non-flowering plant that can spread through spores and fragments. A surface turns green only when something grows there; dampness alone does not create moss.
Look closely at the surface
A green coating on aquarium glass or a wet wall may be algae rather than moss. Moss usually has visible tiny shoots or leafy growth when examined closely. Check the texture before choosing a cleaning method.
Why it appears
Moisture, a suitable surface and the local light conditions allow growth. Species differ: many garden mosses occupy damp shade, but some tolerate sunny sites. Persistent moss on a container can prompt a check of drainage and watering.
Managing unwanted growth
On paths, remove growth using a method suitable for the paving and improve drainage where possible. Keep treatments away from pond life and planted containers unless their label explicitly permits that use. Boiling water can damage nearby roots and is not a general treatment for a planted pot.


Related reading: Moss Growing Conditions: Light and Surface Moisture.