Infosys Interview Question

Define difference between a stored procedure and a function?