It redirects the standard output and standard error of a command to a file. IOW, all the output that normally outputs on the terminal will go into "filename" instead.
It's not really a command though, because you don't run it on its own. It's a type of
I/O redirection that you tack onto the end of a command when you launch it.