Not passing a community college class during HS senior year

Hey so I’m taking three community college classes right now along with high school and I feel that I may not pass one of them. This sacred me becasue I feel that UC Berkeley will rescind my admissions if I do not pass! I’m freaking out but first I want to know if it is still possible to be like “forgiven.” The class is 3 units and is Anthropology 101-Human Biological Evolution. Idk of this helps but I am a Chemical Bio major going to the College of Chemistry. What happens if I get a D? Or an F ?(God hopes not). I have seen threads posted on D’s and F’s on high school courses but what if this happens at a community college class during high school? I’m an not a transfer student btw I am applying for undergrad. My UC GPA is 4.051 W 4.026 Capped and by SAT’s are way below average in the 1700’s. However, this class will be an outlier since I have A’s in my other nine classes. What do I do? Help!