Severely, severely, severely oversimplifying it...
The hardware does the actual work, consuming power as it does it. The software tells the hardware what work to do, when to do it, and in what order it should be done.
Chat with our AI personalities
well first software were designed first..and to develop it hardware were designed...!!
I'd say it would have to be hardware. You had to have hardware to write software on.