Attach arms to weapons and other parts

So I’ve been working on a turret for my gun system for my game for awhile now and I just can’t seem to figure out how to do this with the player’s arms

I want to also learn how to do this for other tasks such as holding onto a wall or object.

If someone can lead me to a forum and walk me through on how I could achieve this, that would be amazing!

I just realized the quality is really bad XP

Nevermind I found a video on inverse kinematics