Intent Service creates a separate working thread to perform background operation…
Lets discuss the problem statement first :While using…