Solar electric panels mostly produce electricity that can be used for lighting but it can also be used to heat buildings and it has to be tank of water beside...
You can generate hot water for use in showers, baths in your home with solar water heaters. In any climate you can have solar water heating systems and the fuel that they use is free sun light. Solar water heating (solar thermal) panels shouldn't be confused with solar electric panels which produce electricity from sunlight.