What are the types of hooks in WP and what are their functions?

What are the types of hooks in WP and what are their functions?

There are two types of hooks - “Actions” and “Filters”. To utilize it in the WordPress, we need to write a customized function, termed as “Callback”.