Two sections sharing one category group
I'd say you want to look at the relations https://craftcms.com/docs/relations#the-relatedTo-param

You would then use craft.entries.section( 'sectionHandle' ).relatedTo( category ) to grab all entries related to the category you are viewing.