My fairly cheap dishwasher in the UK has its own heater, but you can attach it to a hot water supply, which may save money as gas is so much cheaper than electricity.