I am a ninth-grade student in Bangladesh. I am alone in this research who is doing a research in neurophotonics. I have a dream to get published in Nature or Science. Can my age hamper my chances to get published there, even if the quality of the work is groundbreaking?
Well, age is not a criteria for accepting or rejecting a publication in any peer review journal, it's the quality of the scientific content that matter. Being 80 years of age doesn't guarantee that you are an excellent researcher. So work on the scientific content of your publication, and if it is ground breaking the for sure everyone will recognise it. So stay focused and work enthusiastically with scientific ethics.
Leaving alone, for the moment, the ninth-grade thing, you are an independent researcher. While there is nothing wrong about being an independent researcher, all US and European journals demand compliance with very high standards associated with human and animal research, and these standards involve submitting protocols to review boards before any work is done.
So, if the work uses any human subjects or animals, an independent researcher must hire such a review board. For animals, it is unlikely that an individual without some major resources can meet the requirements for proper animal husbandry that a review board will demand, so animal research most likely will not be publishable unless you are working with a facility.
If you are not working with humans or animals, nothing would preclude submission to those journals. I the work isn't exciting and newsworthy to a very broad audience, and if it really isn't world class, your chances of publication in those journals will be very low.
My advice would be to keep careful records of your work, and keep working to develop your credentials.