For the most part, it just closes (some temporarily) most of the services and apps that are running in the background. Gains you some memory. No biggie.
As long as you have about 20% (no less than say 50-100mb, depends on what you're doing) of free memory you shouldn't be experiencing any malfunctions/lags because of lack of memory.