Pregunta de entrevista de Datamatics Global Services

What is difference between stored procedure and stored function?