It doesn't do that actually. It concatenates files. From the description on the man page:
Concatenate FILE(s) to standard output.
With no FILE, or when FILE is -, read standard input
https://man7.org/linux/man-pages/man1/cat.1.html