Your camera flash is not required for all photographic work and has two main purposes. Firstly, to illuminate subjects in a low-light environment.
Secondly, to eliminate shadows from subjects that are exposed to bright light from specific directions that create shadows, e.g., shooting outside in hot sunny weather will cast dark shadows over a portion of the subject's face and/or body.