Resistance causes transfer of electrical energy to heat energy. Some components are designed to have a high resistance to make sure this happens, for example electrical heaters that have lots of resistors to ensure a high resistance so a lot of heat is produced.