Previously I have posted about PL/SQL Block structure , A piece of code that is organized in a properly defined sequence is called a block
PL/SQL provides two types of blocks
Function- A PL/SQL block that performs a task or set of tasks and returns a value
Procedure- A PL/SQL block that performs a task or set of tasks and may or may not return a value