Why do I get really confused and then get really dizzy and feel faint when really hungry?

Those are. Hormones released to keep your blood sugar normal. Don't worry, you're probably overweight and your body is correcting your blood sugar. It won't drop below normal and you'll never be in any danger. Don't eat to excess when you have these symptoms or you'll gain further weight and make the problem worse.