As the F-22 is a stealth fighter, the engineers wanted to reduce it’s radar cross-section as much as possible. To do this, they put the weapons literally inside the aircraft. So, instead of carrying them in outside pylons, this innovative design reduced the radar cross-section since the weapons are removed from the outside. This also cuts down on air resistance, hence making it more fuel efficient.
Here, you can see the missile coming out of the storage compartment.
In this image, you can see all of the missile bay doors open. I have pointed an arrow at the side door from which the missile of the previous image was released.
And what’s more is that the F-35 also has it’s weapons similarly ‘hidden’ like the F-22 inside its body!
BUT IT ALSO CARRIES MISSILES BENEATH ITS WINGS, UNLIKE THE F-22, WHICH HAS MOST OF ITS ARMAMENTS INSIDE THE AIRCRAFT (THE EXTERNAL WEAPONS ARE USUALLY CONSIDERED SECONDARY)
Here is the F-35 with its missile bay doors wide open. You can also see two missiles on the doors, which I have marked with arrows as well as two orange coloured bombs.
Here, you can see which weapons are situated where on the F-22 (note that not all weapons are always carried on the internal bays.)
STEALTHY AIR-TO-AIR covers those weapons that it can possibly carry in it’s internal space
NON STEALTHY EXTERNAL COMBAT covers those weapons/accessories that do not fit, or need to be carried externally only.
Here, you can see which weapons are situated where on the F-35 (There are not many weapons for the internal bay, as you can see)
NOTE- All of these weapons are not carried at once, this picture only shows how many potential weapons are compatible with the aircraft in different places