Mollies need hard, alkaline water... Some common species are brackish rather than freshwater organisms... They need quite clean water, with little metabolite accumulation.
You can add salt, especially with mollies, but just add it slowly. (Buy aquarium salt, don't use table salt). At first...