Mental Model
Deleting a node in a BST means removing it while keeping the tree ordered. We find the node, then fix the tree by replacing it properly.
Analogy: Imagine removing a book from a sorted shelf. If the book is alone, just take it out. If it has neighbors, you shift or replace it so the order stays neat.
5
/ \
3 7
/ \ \
2 4 8
βroot