As you can tell from changing between E major and E minor, there is only note difference between major and minor chords.
Eminor uses these notes: E, G, B
Minor chords use the scale degrees: 1, b3, 5
Minor chords have a sad sound compared to major chords. Try this chord together with the G major guitar chord and check the full list of beginners guitar chords