In simple word Support is where share price bounce back and resistance is where price face challenges to cross. After breaking any of this zone, these zone changes their role and support become resistance and resistance become support.
A live example of role changing zone can be seen on Reliance daily chart where price has reached to its previous support and today faced difficulty to cross it when nifty close 100+ points.