HARMAN interview question

Why functions cant use stored procedure in SQL server