What is the different between Service Class and Class without Activity
===

I am wondering the difference between Service Class and Class without Activity.
// My Class to play Media

    Class MyMediaPlayer{
    public void onCreate() {....code...}
    public void onStart() {....code...}
    public void onDestroy() {....code....}
}

The way of using is very similar to Service Class for Media.

Thanks you very much