Tonic and dominant keys refer to the primary tonal centers in a piece of music, with the tonic being the home chord or key that feels most resolved and stable, while the dominant is the chord or key that creates tension, leading back to the tonic. The relationship between these keys is essential for establishing tonal structure and progression within music. Understanding how these keys interact allows composers and musicians to create tension and resolution, shaping the overall emotional experience of a piece.