Starfield's massive galaxy has many planets and areas that are specifically created for players to explore, usually being tied to specific quests. Beyond those areas, much of Starfield is procedurally generated and will be very randomized for every player and every playthrough.
Starfield: Sensor Contact Explained
Starfield has all sorts of random elements to make your journey through the galaxy more interesting, with one being random sensor contacts.