Question: are all stars part of a galaxy?
Answer: No, not all stars are in a galaxy. They may have once belonged to a galaxy, but they are not a part of it any more. Some of these so-called "stellar outcasts" or "intergalactic stars" have actually been observed by NASA's Hubble Space Telescope.