i will ans the 2nd part first:
heat sources 4 homes: those wuld be renewable resources that generate heat. They include geothermal, solar water-heating and bio-mass.
primarily produce electricity: those wuld be something that is big like a dam for hydroelectric, wind turbine for electric generation, and solar farm for electricity.