How it works
Hardware is the parts you can touch, like a screen, a keyboard or a battery. It is like a body.
Software is the instructions that run on the hardware, like an app or a game. You cannot touch it. It is like a mind.
Hardware can do nothing alone, and software needs hardware to run on, so they need each other.
When something stops working, ask: is it a part, or is it the instructions?