How to switch on gesture controls in S4?

Hi guys, I heard about gestures controls in smart phones but never used them and don't even know how to switch them on I mean how to switch on the gesture mode in galaxy S4 as I'm using it right now.Please tell me also how to use these controls and are these controls different in every smartphone or the same in all?
