I'm referring to Democrats and Republicans. I keep hearing people say the parties switched. Now did they at all and if so was it just geolocation or actual ideals. Because I hear both being thrown around if possible just a quick and simple answer.
There's always room for more good answers, but this question has been asked and answered in various forms: here's the relevant bit of the FAQ.
The basic answer is, yes, multiple times, but the switch you've probably heard about the most is the one in the 1960s that involved the Civil Rights movement and Nixon's Southern Strategy.