Pergunta de entrevista da empresa EVOSYS

What is difference between procedures and functions?