Pregunta de entrevista de Infosys

Define difference between a stored procedure and a function?