REST is an architectural style for developing web applications that defines standard actions for resources like create, read, update, and delete. Scaffolding in Rails allows for the automatic generation of models, views, and controllers for a new resource like posts with a single line of code, providing a quick way to build basic features and bring database tables to life.