Rachna7_1....
I'm assuming you truly mean ophthalmology, not optometry. I'm not sure of the optometry pre-reqs. However, for a college student interested in ophthalmology, you only need to concern yourself with completing medical school pre-reqs and kicking arse on the MCAT. The courses you take in college don't really help or make any difference whatsoever into getting into ophthalmology residency. Worry about that once in medical school. Dismiss osteopathic (DO) medical schools if you are certain you want to pursue ophthalmology and apply only to allopathic (MD) schools.
If it's optometry you are interested in, you probably have to complete different pre-reqs and the optom folks can answer that question.