Thomson Reuters Interview Question

What is the difference between SQL Functions and a Stored Procedure?