Homebrew is software for the PlayStation Portable written by hobbyists rather than Sony or a licensed studio. That covers everything from small demos and emulators to full fan-made games.
Most of it is harmless, and some of it is genuinely worth having. The complication is firmware: a lot of homebrew will not run on the later official firmware versions, which is why people who get into the scene tend to stay put rather than update.
Stick to reputable sources when downloading. Homebrew is unofficial by definition, so nothing about it has been screened by a platform holder.