On what factors does the heat produced in a wire depend?

On what factors does the heat produced in a wire depend?
Answer:
The heat produced in a wire depends on the current flowing in the wire and the resistance of the wire.