Prototypes - What, When, and How

Maybe someone could shed a little more light on function.prototypes? I’ve had a look in the reference but it makes little to no sense to me.

What they do, When to use them and How they function?

Cheers in adv.