Pregunta de entrevista de Link Development

What is the difference between stored proc and functions in SQL Server?