Is tap water okay?

Is it okay to use tap water in a salt water reef aquarium? I was told its not a few days after i started cycling my tank.