You will gain 5 companions over the course of your story. These companions have their own story missions, and certain companions will have a romance option for your main character. Companions can also be sent away on crafting missions, where they will gather materials, and then craft items for you.
They're also really helpful in combat! (Well, except for the servant droid that comes with your startship!)