Question d’entretien chez Infosys

Define difference between a stored procedure and a function?