It can be used in different ways:
* Transitive verb: "I will accompany you to the store." (The verb has a direct object: "you")
* Intransitive verb: "The music accompanied the dancers." (The verb doesn't have a direct object, but it implies an action)
Let me know if you have any other questions!