BGProcessingTask is used in the application to run the task for the longer duration and to maintain …