Link Or Parent

Hi All I want to Make My Guns If the gun example is 21 object i want to make the 21 object be 1 object i tryed ctrl+p but it goes wrong