We call that it funny bone(elbow). It isn't really a bone though. What happens is, the bending of the elbow exposes the nerve in the open part of the joint, and if you hit it just right, the nerve gets pinched and that is the cause of the shock and numbness that follows.
Hope u understand it:)
And pick it as the best if u understand it:)