The lowest sounding note in a triad is called the bass. Triads are not always written or played with the root as the lowest note. Just like an interval can be inverted, a triad can be inverted by making the bass a note other than the root.
Root Position is when the bass (lowest note) in a triad is the root. Notice that a root position triad in close position (all three notes within an octave) will be stacked 3rds.
First Inversion is when the bass (lowest note) in a triad is the 3rd. We can make the above root position triad into a 1st inversion triad by moving the root up one octave. In other words, we invert it one time. Notice that a 1st inversion triad in close position will have a 4th as the top interval.
Second Inversion is when the bass (lowest note) in a triad is the 5th. We can make the above first inversion triad into a 2nd inversion triad by moving the bottom note up one octave. In other words, we invert it a 2nd time. Notice that a 2nd inversion triad in close position will have a 4th as the bottom interval.
In all three of the above examples, the chord remains an E minor triad. The only thing that changes is the inversion.