You sometimes hear people claim that there is no perfectly efficient machine, that every machine wastes some of its input energy in noise or friction. However, there is a counterexample. An electric space heater is perfectly efficient. Its purpose is to heat the space around it, and 100% of the input energy is applied to this purpose. Even the electrical energy lost to resistance in the cord you use to plug it into the wall is converted to heat.