npm scripts are commands defined in package.json's scripts field that you run with npm run <name>. They standardize project tasks (start, build, test, lint) so the whole team and CI use the same commands. Lifecycle hooks are special scripts npm runs automatically at certain points.
