Long story short, bubbler decorations are connected to the aquarium pump and release oxygen bubbles in the water. They enrich the water with extra oxygen and help the fauna and flora in your fish tank to thrive.
Unlike lights that are not recommended to be turned on constantly, these types of devices usually work 24/7.