Ok, I got this. Well, I guess I'll do most of my improvisations over chords. Now I found a good way to build them

.
What I was wondering, while I'm improvising, over, let's say, a C chord, I can play any notes from the C scale, and then return to the 1-3-5, and then go to some other chord in the key? I'm not sure if this is right, so please tell me
