Capgemini Interview Question

difference between procedure and function?