React.lazy is used for bundle splitting in the workshop. It allows components to be loaded asynchronously, reducing the initial load time of the application.