the simple illustration below demonstrates the purpose of the under arm gusset.
You can also use what is called a 'grown on' gusset. meaning, that the desired amount you need for a gusset, is added or extended on the sleeve pattern/fabric in one smooth shape, so when it is sewn in, you only have one seam under the arm, as with regular sleeves, its position has just shifted lower.