A scaffold is temporary support structure; in software, scaffolding generates a project skeleton so the developer starts from a working baseline instead of an empty folder.
In construction, a scaffold is a temporary frame erected around a building under construction. It is not part of the building; it is the structure that lets workers reach the building. When the building stands, the scaffold comes down.
In software, scaffolding is the same idea applied to a codebase. A scaffolder generates the files, folders and configuration that every project of a given kind needs: rails new blog creates a Ruby on Rails app, django-admin startproject mysite creates a Django project, npx create-react-app my-app creates a React app, npm init vite@latest creates a Vite project. The generated files are not the application; they are the frame the application grows on.