"Related Content" stored in which object / How to create "Related Content" records from Apex
===

If you navigate to account/contact/custom object we do have a related list "related content" (if content is enabled and related list is added to page layout).  

My question is were are these "related content" records stored? in which object?

Using apex I'm able to upload file to content version, but not able to create or find the object which stores the "related content" information.