MetricStream interview question

Difference between Function & Procedure