Does a Guitar Hero 5 guitar work on Guitar Hero 3?

Yes, all Guitar Hero guitars are compatible with every guitar hero.