Neudesic interview question

Function vs Stored Procedure in SQL