SoftServe Interview Question

What is the difference between a view and a stored procedure?