It basically stops the activity, which is just the screen of the app. But only if none of the background processes are working. If they are working it literally just hides it.
Discussion
I'm a little surprised to hear this because swiping up does seem to "fix" misbehaving apps when they're opened again.