Pergunta de entrevista da empresa ParamInfo

What is the difference between Function and Stored procedure?