How can I make a bow rotate with player sprite where arrow will go?

Hi I am making a 2D archery game but my last problem is rotating bow where arrow release with player.
waiting for your asists.

Take the bow sprite and put it in another game object.
Then use gameObject.transform.rotation = player.transform.rotation;
You need a reference to the player though.