Pregunta de entrevista de Thomson Reuters

What is the difference between SQL Functions and a Stored Procedure?