Capgemini interview question

difference between procedure and function?