Does taking AP classes or any classes in general in one year or another make a difference in college admissions?

Yea it’s just im not take an AP science in 11th grade. It doesn’t matter that much right? I’m just formulating for now no final decisions on my schedule for 11th.