What are WordPress hooks, and how are they used?

WordPress hooks are functions that allow you to modify or extend core functionality. Hooks are either action hooks, which let you add code at specific points, or filter hooks, which modify data. Common hooks include add_action and apply_filters, enabling customization without modifying core files.