It means to bring something, typically liquid or steam, to a temperature high enough to cause injury to someone or to change the constitution of the liquid. It may be short of boiling. So you talk about being scalded (rather than being burnt, which suggests a dry heat) by boiling water or steam, or you talk about scalding milk if you are making a custard or something like that.