I can imagine. Look, don't overthink it. Though there is creedance to certain foods that do spike insilin levels (otherwise known as blood sugar, or glucose), I wouldn't worry about that if I were you.
At your level of knowledge (or at least what I presume it to be based on your questions) It doesn't really matter too much.
Just know that the only way to gain weight is if you're taking in more calories than you're expending, and to lose, vise verse.
Foods that cause insilin levels to spike aren't too important to you at this point, so don't sweat it (though in the long run you probably will want to learn about it).