I created an application. Now I'm being asked to convert it to a service. Can someone tell me how to do that?

Thank you in advance.