Why is your battery not charging when you drive?
dead voltage regulator
each needs to be tested.
The light is telling you that there is a problem with the charging system. You are running off the battery and will eventually get stuck with a dead battery if you continue to drive that vehicle with the battery light on. Drive to your local auto parts store and they will test the charging system for you at no cost. You are probably in need of an alternator.