Most songs are built from chords that have their start in the major and minor scales. Each scale can be harmonized to produce different chords. Notes are stacked on top of each other in 3rds using only the notes from that scale or mode you're harmonizing. These chords are: 3-note chords (triads), 4-note chords (7th chords), 5-note chords (9th chords), 6-note, (11th chords), or 7-note (13ths) chords where triads and 7th chords are the most commonly used. Shown below is a chart showing each scale degree and the chord that it is built off of.
A roman numeral is assigned to each chord which corresponds with its respective scale degree. An upper case letter denotes a major chord and a lower case letter denotes a minor chord. The chord built on the 1st degree is given the number 1 (the one chord). The chord built off of 5th scale degree is called the V (the five chord), etc. Assigning roman numerals to chords is how musicians describe chord progressions. For example, one person might suggest that you play a I,IV,V in the key of D. That means play the first, fourth and fifth chords found in the key of D, which is in the harmonized D major scale.
With a 4 note (7th chord) harmonization of the major scale, this will result in the I and IV chords being Major 7ths. The ii,iii and iv chords being Minor 7ths. The V chord is a dominant 7th and the vii is a half-diminished.
With this numeric way of describing chord progressions, they are also given names as well to describe each chord. For example, the I chord is called the tonic. The IV chord is called the subdominant and the V chord is called the dominant. These 3 chords are the most important ones you will ever learn because many songs are made up of nothing more than these 3 chords. Listed below is each chord degree and its corresponding name associated with that chord:
I-Tonic
ii-Supertonic
iii-Mediant
IV-Subdominant
V-Dominant
vi-Submediant
vii-Leading Tone
Song Ex. #1: (Cadd9/Am7/Fadd9/G) (Improvise with C major pentatonic or C major)
This progression would be described as a I, iv, IV, V in the key of C. By knowing the different chord qualities (I, IV, vi, ii) and the notes of each different major scale, it's a simple matter to transpose this or any progression to other keys. If the above progression was transposed to the key of E major, the chords would be: Eadd9, C#m7, Aadd9 and B, or I, vi, IV, V in the key of E major.
Song Ex. #2: (A/[D/F#]/A/Esus7) (Improvise with A major pentatonic or A Ionian)
This progression is a simple I, IV, I, V in the key of A. The slash chord is nothing more than just an inverted D major chord. Inversions do not affect the numerical value of a chord at all, just the overall sound of the chord. The fact that it's an inversion has nothing to do with the fact it's still a IV chord.