Be going to expresses a plan.
Ex: I am going to be a doctor. That's my plan.
Ex: I will be a doctor. It will happen. I am 100% sure.
Ex: It's going to rain. It looks like it.
Ex: It will rain. The guy on the weather channel said so.
Does that help?