What is a Signal Generator, and when would you need one for Video?

Why on earth would anyone need a signal generator (also called a function generator) for video?