White shapes are friendly, red/black ones are hostile. You can eat stars to recover health or flyby to recruit them as a satellite which would shoot at hostile stars.