Yes, they are. Just for "knowledge", dominant (in this case, V) like to resolves to tonic (in this case, I). In the key of C, the V is the fifth above C, C-D-E-F-G, G, and play G-B-D, that is V. Whereas I, tonic, is C-E-G. So, play G-B-D, then C-E-G, it sounds like "resolving". You can invert them by inversion; meaning, G-B-D can be played with D-G'-B' (second inversion).