CarrierWave is a Ruby gem that simplifies file uploads for Rack-based web applications. It supports uploading files to both the filesystem and cloud storage services like AWS and Google Cloud. CarrierWave integrates with ActiveRecord, allowing files to be attached to models and accessed via URLs. It handles uploading files, moving or copying them to permanent storage, and retrieving files from the storage location.