I have a 5 years old daughter and she has vagina discarging why is dat?

See her doctor. Vaginal discharge could represent local irritation, or a yeast or bacterial infection. Call the clinic and ask to speak to her doctor and describe her symptoms, then make an appointment for her to have a complete history and physical examination with appropriate lab work completed.
?Inserted object. Your daughter may a yeast or bacterial infection, however little girls often put objects such as beads into their vaginal opening. The latter usually causes a foul smelling discharge. Try not to make this a big issue, if something was inserted, this should be considered normal self exploration. Of course, this behiour should not be repeated.