Meditab Software interview question

What is stored procedure in PostgreSQL ?